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

Side by Side Diff: android_webview/lib/aw_browser_dependency_factory_impl.h

Issue 1852513003: Convert //android_webview to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git is hard Created 4 years, 8 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
6 #define ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ 6 #define ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
7 7
8 #include "android_webview/native/aw_browser_dependency_factory.h" 8 #include "android_webview/native/aw_browser_dependency_factory.h"
9
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "base/macros.h" 10 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 11
14 namespace net { 12 namespace net {
15 class URLRequestContextGetter; 13 class URLRequestContextGetter;
16 } 14 }
17 15
18 namespace android_webview { 16 namespace android_webview {
19 17
20 class AwNetworkDelegate; 18 class AwNetworkDelegate;
21 class AwURLRequestJobFactory; 19 class AwURLRequestJobFactory;
22 20
23 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory { 21 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory {
24 public: 22 public:
25 AwBrowserDependencyFactoryImpl(); 23 AwBrowserDependencyFactoryImpl();
26 ~AwBrowserDependencyFactoryImpl() override; 24 ~AwBrowserDependencyFactoryImpl() override;
27 25
28 // Sets this class as the singleton instance. 26 // Sets this class as the singleton instance.
29 static void InstallInstance(); 27 static void InstallInstance();
30 28
31 // AwBrowserDependencyFactory 29 // AwBrowserDependencyFactory
32 content::BrowserContext* GetBrowserContext() override; 30 content::BrowserContext* GetBrowserContext() override;
33 content::WebContents* CreateWebContents() override; 31 content::WebContents* CreateWebContents() override;
34 32
35 private: 33 private:
36 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl); 34 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl);
37 }; 35 };
38 36
39 } // namespace android_webview 37 } // namespace android_webview
40 38
41 #endif // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ 39 #endif // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/browser/test/rendering_test.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