Index: components/metrics/test_metrics_service_client.h |
diff --git a/components/metrics/test_metrics_service_client.h b/components/metrics/test_metrics_service_client.h |
index edbee2fe419285a04d7ab431eed8868b80aa7f6d..43600df161f14f0ba4c308a19e42cda1a6f91165 100644 |
--- a/components/metrics/test_metrics_service_client.h |
+++ b/components/metrics/test_metrics_service_client.h |
@@ -23,6 +23,7 @@ class TestMetricsServiceClient : public MetricsServiceClient { |
// MetricsServiceClient: |
virtual void SetMetricsClientId(const std::string& client_id) OVERRIDE; |
virtual bool IsOffTheRecordSessionActive() OVERRIDE; |
+ virtual int32_t GetProduct() OVERRIDE; |
virtual std::string GetApplicationLocale() OVERRIDE; |
virtual bool GetBrand(std::string* brand_code) OVERRIDE; |
virtual SystemProfileProto::Channel GetChannel() OVERRIDE; |
@@ -39,10 +40,12 @@ class TestMetricsServiceClient : public MetricsServiceClient { |
const std::string& get_client_id() const { return client_id_; } |
void set_version_string(const std::string& str) { version_string_ = str; } |
+ void set_product(int32_t product) { product_ = product; } |
private: |
std::string client_id_; |
std::string version_string_; |
+ int32_t product_; |
DISALLOW_COPY_AND_ASSIGN(TestMetricsServiceClient); |
}; |