| Index: chrome/browser/android/search_geolocation_disclosure_tab_helper.h
|
| diff --git a/chrome/browser/android/search_geolocation_disclosure_tab_helper.h b/chrome/browser/android/search_geolocation_disclosure_tab_helper.h
|
| index b121eddeba2ce87250117e70a00bc40375036910..00ed39c0722171896bb475164c4b3221098818d9 100644
|
| --- a/chrome/browser/android/search_geolocation_disclosure_tab_helper.h
|
| +++ b/chrome/browser/android/search_geolocation_disclosure_tab_helper.h
|
| @@ -35,7 +35,12 @@ class SearchGeolocationDisclosureTabHelper
|
| friend class content::WebContentsUserData<
|
| SearchGeolocationDisclosureTabHelper>;
|
|
|
| - void MaybeShowDefaultSearchGeolocationDisclosure(GURL gurl);
|
| + void MaybeShowDefaultSearchGeolocationDisclosure(const GURL& gurl);
|
| +
|
| + // Record metrics, once per client, of the permission state before and after
|
| + // the disclosure has been shown.
|
| + void RecordPreDisclosureMetrics(const GURL& gurl);
|
| + void RecordPostDisclosureMetrics(const GURL& gurl);
|
| Profile* GetProfile();
|
|
|
| bool consistent_geolocation_enabled_;
|
|
|