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; |