Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: content/renderer/pepper/pepper_plugin_instance_metrics.h

Issue 849723002: Plugin Power Saver: Make PepperPluginInstanceThrottler interface public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | content/renderer/pepper/pepper_plugin_instance_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698