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

Unified Diff: android_webview/browser/jni_dependency_factory.h

Issue 26477002: Android WebView: post QuotaManager calls to UI thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing origin in url construction Created 7 years, 2 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/browser/aw_quota_manager_bridge.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/jni_dependency_factory.h
diff --git a/android_webview/browser/jni_dependency_factory.h b/android_webview/browser/jni_dependency_factory.h
index e6e0ea98d091e1ecd64e28838106c1ba7a50d75a..b396ad058d7a23f3f28d7e469b9a37a1838968f3 100644
--- a/android_webview/browser/jni_dependency_factory.h
+++ b/android_webview/browser/jni_dependency_factory.h
@@ -5,6 +5,8 @@
#ifndef ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
#define ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
+#include "base/memory/ref_counted.h"
+
namespace content {
class GeolocationPermissionContext;
class WebContents;
@@ -22,7 +24,7 @@ class JniDependencyFactory {
public:
virtual ~JniDependencyFactory() {}
- virtual AwQuotaManagerBridge* CreateAwQuotaManagerBridge(
+ virtual scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge(
AwBrowserContext* browser_context) = 0;
virtual content::GeolocationPermissionContext* CreateGeolocationPermission(
AwBrowserContext* browser_context) = 0;
« no previous file with comments | « android_webview/browser/aw_quota_manager_bridge.cc ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698