| Index: chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc
|
| diff --git a/chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc b/chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc
|
| index 49abeb053b8b1cbb7b7ce34db67e4f9cfdc9c4d1..9548176b6bf2d78083a630cbb975f42f48d7ae31 100644
|
| --- a/chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc
|
| +++ b/chrome/browser/ui/prefs/prefs_tab_helper_browsertest.cc
|
| @@ -6,6 +6,7 @@
|
| #include "base/path_service.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/common/chrome_constants.h"
|
| #include "chrome/common/chrome_paths.h"
|
| @@ -27,7 +28,8 @@ class PrefsTabHelperBrowserTest : public InProcessBrowserTest {
|
| virtual bool SetUpUserDataDirectory() OVERRIDE {
|
| FilePath user_data_directory;
|
| PathService::Get(chrome::DIR_USER_DATA, &user_data_directory);
|
| - FilePath default_profile = user_data_directory.AppendASCII("Default");
|
| + FilePath default_profile =
|
| + user_data_directory.AppendASCII(ProfileManager::kTestUserProfile);
|
| if (!file_util::CreateDirectory(default_profile)) {
|
| LOG(ERROR) << "Can't create " << default_profile.MaybeAsASCII();
|
| return false;
|
|
|