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

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

Issue 11785011: Remove incognito parameter from AwContents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebaselining findbugs, my fix removed a bug entry Created 7 years, 11 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
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 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 21
22 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory { 22 class AwBrowserDependencyFactoryImpl : public AwBrowserDependencyFactory {
23 public: 23 public:
24 AwBrowserDependencyFactoryImpl(); 24 AwBrowserDependencyFactoryImpl();
25 virtual ~AwBrowserDependencyFactoryImpl(); 25 virtual ~AwBrowserDependencyFactoryImpl();
26 26
27 // Sets this class as the singleton instance. 27 // Sets this class as the singleton instance.
28 static void InstallInstance(); 28 static void InstallInstance();
29 29
30 // AwBrowserDependencyFactory 30 // AwBrowserDependencyFactory
31 virtual content::BrowserContext* GetBrowserContext(bool incognito) OVERRIDE; 31 virtual content::BrowserContext* GetBrowserContext() OVERRIDE;
32 virtual content::WebContents* CreateWebContents(bool incognito) OVERRIDE; 32 virtual content::WebContents* CreateWebContents() OVERRIDE;
33 33
34 private: 34 private:
35 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl); 35 DISALLOW_COPY_AND_ASSIGN(AwBrowserDependencyFactoryImpl);
36 }; 36 };
37 37
38 } // namespace android_webview 38 } // namespace android_webview
39 39
40 #endif // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_ 40 #endif // ANDROID_WEBVIEW_LIB_BROWSER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698