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

Unified Diff: chrome/browser/prefs/incognito_mode_prefs.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prefs/incognito_mode_prefs.h
diff --git a/chrome/browser/prefs/incognito_mode_prefs.h b/chrome/browser/prefs/incognito_mode_prefs.h
index 698250fc9f0c3512512c876deb26ceb231ec5a8d..d7d8d29160fb4dc244e3721709efc1d3e8bb723c 100644
--- a/chrome/browser/prefs/incognito_mode_prefs.h
+++ b/chrome/browser/prefs/incognito_mode_prefs.h
@@ -7,10 +7,13 @@
#include "base/basictypes.h"
-class CommandLine;
class PrefService;
class Profile;
+namespace base {
+class CommandLine;
+}
+
namespace user_prefs {
class PrefRegistrySyncable;
}
@@ -52,7 +55,7 @@ class IncognitoModePrefs {
static bool IntToAvailability(int in_value, Availability* out_value);
// Returns true if the browser should start in incognito mode.
- static bool ShouldLaunchIncognito(const CommandLine& command_line,
+ static bool ShouldLaunchIncognito(const base::CommandLine& command_line,
const PrefService* prefs);
// Returns true if |profile| can open a new Browser. This checks the incognito
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store.h ('k') | chrome/browser/prefs/pref_service_syncable_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698