OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 namespace ppapi { |
| 12 struct Preferences; |
| 13 } |
| 14 |
| 15 namespace content { |
| 16 |
| 17 // Record size metrics for all Flash instances. |
| 18 void RecordFlashSizeMetric(int width, int height); |
| 19 |
| 20 // Records size metrics for Flash instances that are clicked. |
| 21 void RecordFlashClickSizeMetric(int width, int height); |
| 22 |
| 23 void SetGPUHistogram(const ppapi::Preferences& prefs, |
| 24 const std::vector<std::string>& arg_names, |
| 25 const std::vector<std::string>& arg_values); |
| 26 |
| 27 } // namespace content |
| 28 |
| 29 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_ |
OLD | NEW |