Index: android_webview/browser/aw_browser_context.h |
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h |
index d184cdeecd3fe6adfad7d7305cf79201c3a770a3..203381c77f3a445d59d394fb8ec24ecdc78629da 100644 |
--- a/android_webview/browser/aw_browser_context.h |
+++ b/android_webview/browser/aw_browser_context.h |
@@ -9,6 +9,7 @@ |
#include "base/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "content/public/browser/browser_context.h" |
+#include "content/public/browser/geolocation_permission_context.h" |
namespace android_webview { |
@@ -45,12 +46,18 @@ class AwBrowserContext : public content::BrowserContext { |
GetSpeechRecognitionPreferences() OVERRIDE; |
virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
+ // AwBrowserContext specific |
+ void set_geolocation_permissions_context( |
+ content::GeolocationPermissionContext* geolocation_permission_context); |
+ |
private: |
// The file path where data for this context is persisted. |
FilePath context_storage_path_; |
scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_; |
+ scoped_refptr<content::GeolocationPermissionContext> |
+ geolocation_permission_context_; |
AwDownloadManagerDelegate download_manager_delegate_; |