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

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: Fixing clang errors Created 7 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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
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..0e4708bae163bc87d502f7f73105a321e85868a3 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -9,14 +9,19 @@
#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 {
class AwURLRequestContextGetter;
+typedef content::GeolocationPermissionContext* GeolocationPermissionFactoryFn();
+
class AwBrowserContext : public content::BrowserContext {
public:
- AwBrowserContext(const FilePath path);
+ AwBrowserContext(
+ const FilePath path,
+ GeolocationPermissionFactoryFn* geolocation_permission_factory);
virtual ~AwBrowserContext();
// Called before BrowserThreads are created.
@@ -51,6 +56,9 @@ class AwBrowserContext : public content::BrowserContext {
FilePath context_storage_path_;
scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_;
+ GeolocationPermissionFactoryFn* geolocation_permission_factory_;
+ 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698