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

Side by Side Diff: android_webview/browser/jni_dependency_factory.h

Issue 12253057: Implement WebStorage API methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments from joth. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
6 #define ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
7
8 namespace content {
9 class GeolocationPermissionContext;
10 class WebContents;
11 class WebContentsViewDelegate;
12 } // namespace content
13
14 namespace android_webview {
15
16 class AwBrowserContext;
17 class AwQuotaManagerBridge;
18
19 // Used to create instances of objects under native that are used in browser.
20 class JniDependencyFactory {
21 public:
22 virtual ~JniDependencyFactory() {}
23
24 virtual AwQuotaManagerBridge* CreateAwQuotaManagerBridge(
25 AwBrowserContext* browser_context) = 0;
26 virtual content::GeolocationPermissionContext* CreateGeolocationPermission(
27 AwBrowserContext* browser_context) = 0;
28 virtual content::WebContentsViewDelegate* CreateViewDelegate(
29 content::WebContents* web_contents) = 0;
30 };
31
32 } // namespace android_webview
33
34 #endif // ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698