1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_
17 // Record size metrics for all Flash instances.
18 void RecordFlashSizeMetric(int width
, int height
);
20 // Records size metrics for Flash instances that are clicked.
21 void RecordFlashClickSizeMetric(int width
, int height
);
23 void SetGPUHistogram(const ppapi::Preferences
& prefs
,
24 const std::vector
<std::string
>& arg_names
,
25 const std::vector
<std::string
>& arg_values
);
27 } // namespace content
29 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_