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

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

Issue 2888173003: [WebView] Remove jni_dependency_factory.h (Closed)
Patch Set: add explicit Created 3 years, 7 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
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 #include "base/memory/ref_counted.h"
9
10 namespace content {
11 class WebContents;
12 class WebContentsViewDelegate;
13 } // namespace content
14
15 namespace android_webview {
16
17 class AwBrowserContext;
18 class AwQuotaManagerBridge;
19
20 // Used to create instances of objects under native that are used in browser.
21 class JniDependencyFactory {
22 public:
23 virtual ~JniDependencyFactory() {}
24
25 virtual scoped_refptr<AwQuotaManagerBridge> CreateAwQuotaManagerBridge(
26 AwBrowserContext* browser_context) = 0;
27 virtual content::WebContentsViewDelegate* CreateViewDelegate(
28 content::WebContents* web_contents) = 0;
29 };
30
31 } // namespace android_webview
32
33 #endif // ANDROID_WEBVIEW_BROWSER_JNI_DEPENDENCY_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698