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

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

Issue 2612993002: Make geolocation API and X-Geo header access consistent (Closed)
Patch Set: Fix test / merge error Created 3 years, 11 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
Index: chrome/browser/geolocation/geolocation_permission_context_android.h
diff --git a/chrome/browser/geolocation/geolocation_permission_context_android.h b/chrome/browser/geolocation/geolocation_permission_context_android.h
index 521cd884e2136d0b1ecaa4ad6a333633ab8fc514..b939a095df24056f1dcf1851308599833214df94 100644
--- a/chrome/browser/geolocation/geolocation_permission_context_android.h
+++ b/chrome/browser/geolocation/geolocation_permission_context_android.h
@@ -44,6 +44,12 @@ class GeolocationPermissionContextAndroid
explicit GeolocationPermissionContextAndroid(Profile* profile);
~GeolocationPermissionContextAndroid() override;
+ protected:
+ // GeolocationPermissionContext:
+ ContentSetting GetPermissionStatusInternal(
+ const GURL& requesting_origin,
+ const GURL& embedding_origin) const override;
+
private:
friend class GeolocationPermissionContextTests;

Powered by Google App Engine
This is Rietveld 408576698