Retry: Win Video Capture: Create an STA |video_capture_thread_| from MediaStreamManager.
[chromium-blink-merge.git] / android_webview / lib / aw_browser_dependency_factory_impl.h
blobe0cf3b9dd406d0a367fc8330ef7e2d3d5e79506d
1 // Copyright (c) 2012 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.
5 #ifndef ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
6 #define ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
8 #include "android_webview/native/aw_browser_dependency_factory.h"
10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h"
13 namespace net {
14 class URLRequestContextGetter;
17 namespace android_webview {
19 class AwNetworkDelegate;
20 class AwURLRequestJobFactory;
22 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory {
23 public:
24 AwBrowserDependencyFactoryImpl();
25 virtual ~AwBrowserDependencyFactoryImpl();
27 // Sets this class as the singleton instance.
28 static void InstallInstance();
30 // AwBrowserDependencyFactory
31 virtual content::BrowserContext* GetBrowserContext() override;
32 virtual content::WebContents* CreateWebContents() override;
34 private:
35 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl);
38 } // namespace android_webview
40 #endif // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_