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

Unified Diff: chrome/browser/metrics/metrics_log.h

Issue 9702015: [UMA] Add performance profile data to UMA uploads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract unrelated changes to separate CLs Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | chrome/browser/metrics/metrics_log.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | chrome/browser/metrics/metrics_log.cc » ('j') | chrome/browser/metrics/metrics_log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698