Index: components/metrics/metrics_service_client.h |
diff --git a/components/metrics/metrics_service_client.h b/components/metrics/metrics_service_client.h |
index 465cb01fe67dc80c757c9e702c2ade196131303a..4289bae899395eb823b2856d983912ed7f6d6357 100644 |
--- a/components/metrics/metrics_service_client.h |
+++ b/components/metrics/metrics_service_client.h |
@@ -5,6 +5,7 @@ |
#ifndef COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ |
#define COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ |
+#include <stdint.h> |
#include <string> |
#include "base/basictypes.h" |
@@ -30,6 +31,11 @@ class MetricsServiceClient { |
// Whether there's an "off the record" (aka "Incognito") session active. |
virtual bool IsOffTheRecordSessionActive() = 0; |
+ // Returns the product value to use in uploaded reports, which will be used to |
+ // set the ChromeUserMetricsExtension.product field. See comments on that |
+ // field on why it's an int32 rather than an enum. |
+ virtual int32_t GetProduct() = 0; |
+ |
// Returns the current application locale (e.g. "en-US"). |
virtual std::string GetApplicationLocale() = 0; |