| Index: chrome/browser/profiles/profile_manager_unittest.cc
|
| diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
|
| index 82e8fd9eb80abbd82c67aa9490141b774d0a3eed..07c6e9fa651487c6f692f667c473a347abba6a6f 100644
|
| --- a/chrome/browser/profiles/profile_manager_unittest.cc
|
| +++ b/chrome/browser/profiles/profile_manager_unittest.cc
|
| @@ -36,6 +36,7 @@
|
| #include "chrome/test/base/testing_browser_process.h"
|
| #include "chrome/test/base/testing_profile.h"
|
| #include "content/public/browser/notification_service.h"
|
| +#include "content/public/common/content_switches.h"
|
| #include "content/public/test/test_browser_thread_bundle.h"
|
| #include "grit/generated_resources.h"
|
| #include "testing/gmock/include/gmock/gmock.h"
|
| @@ -392,7 +393,7 @@ class ProfileManagerGuestTest : public ProfileManagerTest,
|
| cl->AppendSwitch(switches::kMultiProfiles);
|
|
|
| cl->AppendSwitch(switches::kTestType);
|
| - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kMultiProfiles)) {
|
| + if (profiles::IsMultipleProfilesEnabled()) {
|
| cl->AppendSwitchASCII(chromeos::switches::kLoginProfile,
|
| std::string(chrome::kProfileDirPrefix) +
|
| chromeos::UserManager::kGuestUserName);
|
|
|