Index: chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h |
diff --git a/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h b/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h |
index 771e6228ff03f288cb4f83472f677aed2ac28b17..c67e7195d184fbc04ce004aa87c3e91842941f93 100644 |
--- a/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h |
+++ b/chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.h |
@@ -30,6 +30,8 @@ class SearchGeolocationDisclosureTabHelper |
void NavigationEntryCommitted( |
const content::LoadCommittedDetails& load_details) override; |
+ void MaybeShowDisclosureForAPIUsage(const GURL& gurl); |
+ |
static void ResetDisclosure(Profile* profile); |
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
@@ -42,7 +44,8 @@ class SearchGeolocationDisclosureTabHelper |
friend class content::WebContentsUserData< |
SearchGeolocationDisclosureTabHelper>; |
- void MaybeShowDefaultSearchGeolocationDisclosure(const GURL& gurl); |
+ void MaybeShowDisclosureForOmnibox(const GURL& gurl); |
+ void ShowDisclosureIfRulesPermit(const GURL& gurl); |
bool ShouldShowDisclosureForUrl(const GURL& gurl); |