| Index: content/renderer/pepper/pepper_plugin_instance_metrics.h
|
| diff --git a/content/renderer/pepper/pepper_plugin_instance_metrics.h b/content/renderer/pepper/pepper_plugin_instance_metrics.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..02d92e06056bb95287773ee136337b3bdfd18002
|
| --- /dev/null
|
| +++ b/content/renderer/pepper/pepper_plugin_instance_metrics.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_
|
| +#define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_
|
| +
|
| +#include <string>
|
| +#include <vector>
|
| +
|
| +namespace ppapi {
|
| +struct Preferences;
|
| +}
|
| +
|
| +namespace content {
|
| +
|
| +// Record size metrics for all Flash instances.
|
| +void RecordFlashSizeMetric(int width, int height);
|
| +
|
| +// Records size metrics for Flash instances that are clicked.
|
| +void RecordFlashClickSizeMetric(int width, int height);
|
| +
|
| +void SetGPUHistogram(const ppapi::Preferences& prefs,
|
| + const std::vector<std::string>& arg_names,
|
| + const std::vector<std::string>& arg_values);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_INSTANCE_METRICS_H_
|
|
|