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

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: 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
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..a98fc69efd924b453e43d8265a3d2daa3e399013 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -32,16 +32,14 @@ class WebContents;
namespace android_webview {
class AwURLRequestContextGetter;
-
-typedef content::GeolocationPermissionContext* GeolocationPermissionFactoryFn();
+class AwQuotaManagerBridge;
+class NativeFactory;
class AwBrowserContext : public content::BrowserContext,
public components::VisitedLinkDelegate {
public:
- AwBrowserContext(
- const base::FilePath path,
- GeolocationPermissionFactoryFn* geolocation_permission_factory);
+ AwBrowserContext(const base::FilePath path, NativeFactory* native_factory);
virtual ~AwBrowserContext();
// Convenience method to returns the AwBrowserContext corresponding to the
@@ -83,6 +81,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 +112,11 @@ class AwBrowserContext : public content::BrowserContext,
// The file path where data for this context is persisted.
base::FilePath context_storage_path_;
+ NativeFactory* 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_;

Powered by Google App Engine
This is Rietveld 408576698