| 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
|
|
|