| Index: components/data_use_measurement/core/data_use_user_data.h
|
| diff --git a/components/data_use_measurement/core/data_use_user_data.h b/components/data_use_measurement/core/data_use_user_data.h
|
| index e4baaf66b78c2b77447fd7974f36520e3de2e4fb..6836bb5b75595267c105549f316a779766b62b0e 100644
|
| --- a/components/data_use_measurement/core/data_use_user_data.h
|
| +++ b/components/data_use_measurement/core/data_use_user_data.h
|
| @@ -23,18 +23,31 @@ class DataUseUserData : public base::SupportsUserData::Data {
|
| enum ServiceName {
|
| NOT_TAGGED,
|
| SUGGESTIONS,
|
| + TRANSLATE,
|
| + SYNC,
|
| + OMNIBOX,
|
| + INVALIDATION,
|
| + RAPPOR,
|
| + VARIATIONS,
|
| + UMA,
|
| + DOMAIN_RELIABILITY,
|
| + PROFILE_DOWNLOADER,
|
| + GOOGLE_URL_TRACKER,
|
| + AUTOFILL,
|
| + POLICY,
|
| + SPELL_CHECKER,
|
| + GEO_LOCATION,
|
| };
|
|
|
| explicit DataUseUserData(ServiceName service_type);
|
| ~DataUseUserData() override;
|
|
|
| // Helper function to create DataUseUserData. The caller takes the ownership
|
| - // of
|
| - // the returned object.
|
| + // of the returned object.
|
| static base::SupportsUserData::Data* Create(
|
| DataUseUserData::ServiceName service);
|
|
|
| - // Return the service name of the ServiceType enum.
|
| + // Return the service name of the ServiceName enum.
|
| static const char* GetServiceNameAsString(ServiceName service);
|
|
|
| // Services should use this function to attach their |service_type| to the
|
|
|