| Index: chrome/browser/metrics/metrics_log.h
|
| diff --git a/chrome/browser/metrics/metrics_log.h b/chrome/browser/metrics/metrics_log.h
|
| index 400a2c634cd9e4bfbd14efe76266132fc45a3ce7..b219685b3e297c4b71fb44f2b4b0b319b028e751 100644
|
| --- a/chrome/browser/metrics/metrics_log.h
|
| +++ b/chrome/browser/metrics/metrics_log.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/metrics/field_trial.h"
|
| #include "chrome/common/metrics/metrics_log_base.h"
|
| +#include "content/public/common/process_type.h"
|
| #include "ui/gfx/size.h"
|
|
|
| struct AutocompleteLog;
|
| @@ -24,6 +25,10 @@ namespace base {
|
| class DictionaryValue;
|
| }
|
|
|
| +namespace tracked_objects {
|
| +struct ProcessDataSnapshot;
|
| +}
|
| +
|
| namespace webkit {
|
| struct WebPluginInfo;
|
| }
|
| @@ -72,6 +77,12 @@ class MetricsLog : public MetricsLogBase {
|
| // user uses the Omnibox to open a URL.
|
| void RecordOmniboxOpenedURL(const AutocompleteLog& log);
|
|
|
| + // Records the passed profiled data, which should be a snapshot of the
|
| + // browser's profiled performance during startup for a single process.
|
| + void RecordProfilerData(
|
| + const tracked_objects::ProcessDataSnapshot& process_data,
|
| + content::ProcessType process_type);
|
| +
|
| // Record recent delta for critical stability metrics. We can't wait for a
|
| // restart to gather these, as that delay biases our observation away from
|
| // users that run happily for a looooong time. We send increments with each
|
|
|