Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3273)

Unified Diff: chrome/browser/geolocation/geolocation_permission_context_android.cc

Issue 2885763002: Only show search geolocation disclosure on omnibox searches or API use. (Closed)
Patch Set: Add comments Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/geolocation_permission_context_android.cc
diff --git a/chrome/browser/geolocation/geolocation_permission_context_android.cc b/chrome/browser/geolocation/geolocation_permission_context_android.cc
index b2438226154fc1f22dbc481fe882f151016a4dba..0510d72148029f867b1ab406a09a49818a962b05 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_android.cc
+++ b/chrome/browser/geolocation/geolocation_permission_context_android.cc
@@ -502,7 +502,7 @@ void GeolocationPermissionContextAndroid::FinishNotifyPermissionSet(
// The tab helper can be null in tests.
if (disclosure_helper)
- disclosure_helper->MaybeShowDisclosure(requesting_origin);
+ disclosure_helper->MaybeShowDisclosureForAPIAccess(requesting_origin);
}
}
« no previous file with comments | « chrome/browser/android/search_geolocation/search_geolocation_disclosure_tab_helper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698