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

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address nits Created 7 years, 10 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 | « android_webview/android_webview.gyp ('k') | 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 4d0bd661955bb3ebbc812c9b68d5dc97263639e1..517f3079fc74d1bfe322da38f7f65c8bf33ef2cd 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -32,16 +32,15 @@ class WebContents;
namespace android_webview {
class AwURLRequestContextGetter;
-
-typedef content::GeolocationPermissionContext* GeolocationPermissionFactoryFn();
+class AwQuotaManagerBridge;
+class JniDependencyFactory;
class AwBrowserContext : public content::BrowserContext,
public components::VisitedLinkDelegate {
public:
- AwBrowserContext(
- const base::FilePath path,
- GeolocationPermissionFactoryFn* geolocation_permission_factory);
+ AwBrowserContext(const base::FilePath path,
+ JniDependencyFactory* native_factory);
virtual ~AwBrowserContext();
// Convenience method to returns the AwBrowserContext corresponding to the
@@ -83,6 +82,8 @@ class AwBrowserContext : public content::BrowserContext,
scoped_ptr<net::URLRequestJobFactory::ProtocolHandler>
chrome_devtools_protocol_handler);
+ AwQuotaManagerBridge* GetQuotaManagerBridge();
+
// content::BrowserContext implementation.
virtual base::FilePath GetPath() OVERRIDE;
virtual bool IsOffTheRecord() const OVERRIDE;
@@ -112,10 +113,11 @@ class AwBrowserContext : public content::BrowserContext,
// The file path where data for this context is persisted.
base::FilePath context_storage_path_;
+ JniDependencyFactory* native_factory_;
scoped_refptr<AwURLRequestContextGetter> url_request_context_getter_;
- GeolocationPermissionFactoryFn* geolocation_permission_factory_;
scoped_refptr<content::GeolocationPermissionContext>
geolocation_permission_context_;
+ scoped_ptr<AwQuotaManagerBridge> quota_manager_bridge_;
AwDownloadManagerDelegate download_manager_delegate_;
« no previous file with comments | « android_webview/android_webview.gyp ('k') | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698