| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 5a5f94bfc773b7e78d0e73171f62a3de2dd7a37f..cf1aaa1fb69106ad653fd4a6f311634ec91dd6f2 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -792,7 +792,7 @@ void ProfileManager::InitProfileUserPrefs(Profile* profile) {
|
| if (!profile->GetPrefs()->HasPrefPath(prefs::kProfileName))
|
| profile->GetPrefs()->SetString(prefs::kProfileName, profile_name);
|
|
|
| - CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| bool force_supervised_user_id =
|
| command_line->HasSwitch(switches::kSupervisedUserId);
|
| if (force_supervised_user_id) {
|
| @@ -834,7 +834,8 @@ void ProfileManager::Observe(
|
| if (type == chrome::NOTIFICATION_LOGIN_USER_CHANGED) {
|
| logged_in_ = true;
|
|
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| if (!command_line.HasSwitch(switches::kTestType)) {
|
| // If we don't have a mounted profile directory we're in trouble.
|
| // TODO(davemoore) Once we have better api this check should ensure that
|
|
|