Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / components / metrics / metrics_service_client.h
index 465cb01..4289bae 100644 (file)
@@ -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;