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

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 11763002: Implementing native chromium GeolocationPermissionContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Different static cast Created 7 years, 12 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 | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | android_webview/native/aw_contents.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | android_webview/native/aw_contents.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698