| Index: components/ukm/ukm_service.h
|
| diff --git a/components/ukm/ukm_service.h b/components/ukm/ukm_service.h
|
| index 1775d16a1b7fb69218939aeb0f1686f9e12e7306..2a516dfa6500ff10d693f96833af99f2bb28ac67 100644
|
| --- a/components/ukm/ukm_service.h
|
| +++ b/components/ukm/ukm_service.h
|
| @@ -49,6 +49,10 @@ class UkmService : public base::SupportsWeakPtr<UkmService> {
|
| UkmService(PrefService* pref_service, metrics::MetricsServiceClient* client);
|
| virtual ~UkmService();
|
|
|
| + // Get the new source ID, which is unique for the duration of a browser
|
| + // session.
|
| + static int32_t GetNewSourceID();
|
| +
|
| // Update the URL on the source keyed to the given source ID. If the source
|
| // does not exist, it will create a new UkmSource object.
|
| void UpdateSourceURL(int32_t source_id, const GURL& url);
|
|
|