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

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

Issue 11186010: Update geolocation infobar to handle Android system settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Failed to upload Created 8 years, 2 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/chrome_geolocation_permission_context_android.h
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.h b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.h
index 185e7164e10cb4ce66c0e522110720d940b6e539..fc2ca1e7e85a19f48594bb6756dc13216d4939a5 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_android.h
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_android.h
@@ -7,6 +7,7 @@
#include "chrome/browser/geolocation/chrome_geolocation_permission_context.h"
+class GoogleLocationSettingsHelper;
// Android-specific geolocation permission flow, taking into account the
// Google Location Settings, if available.
@@ -29,6 +30,16 @@ class ChromeGeolocationPermissionContextAndroid
const GURL& embedder,
base::Callback<void(bool)> callback) OVERRIDE;
+ virtual void PermissionDecided(int render_process_id,
+ int render_view_id,
+ int bridge_id,
+ const GURL& requesting_frame,
+ const GURL& embedder,
+ base::Callback<void(bool)> callback,
+ bool allowed) OVERRIDE;
+
+ scoped_ptr<GoogleLocationSettingsHelper> google_location_settings_helper_;
+
DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPermissionContextAndroid);
};

Powered by Google App Engine
This is Rietveld 408576698