| Index: chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm
|
| index aab68ea55ceea6089350425a7a48ab959d9fe012..9413087ae0d6ed793244ad5e6f556128719850a5 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac_unittest.mm
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/cocoa/profiles/user_manager_mac.h"
|
|
|
| #include "base/run_loop.h"
|
| +#include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/profiles/profile_window.h"
|
| #include "chrome/test/base/browser_with_test_window_test.h"
|
| #include "chrome/test/base/testing_browser_process.h"
|
| @@ -19,13 +20,14 @@ class UserManagerMacTest : public BrowserWithTestWindowTest {
|
| virtual void SetUp() OVERRIDE {
|
| BrowserWithTestWindowTest::SetUp();
|
| ASSERT_TRUE(testing_profile_manager_.SetUp());
|
| - // Pre-load the guest profile so we don't have to wait for the User Manager
|
| - // to asynchronously create it.
|
| - testing_profile_manager_.CreateGuestProfile();
|
| + // Pre-load the special profile so we don't have to wait for the
|
| + // User Manager to asynchronously create it.
|
| + testing_profile_manager_.CreateUserManagerProfile();
|
| }
|
|
|
| virtual void TearDown() OVERRIDE {
|
| - testing_profile_manager_.DeleteGuestProfile();
|
| + testing_profile_manager_.DeleteProfileWithPath(
|
| + ProfileManager::GetUserManagerProfilePath());
|
| TestingBrowserProcess::GetGlobal()->SetProfileManager(NULL);
|
| base::RunLoop().RunUntilIdle();
|
| BrowserWithTestWindowTest::TearDown();
|
|
|