Chromium Code Reviews| Index: chrome/test/base/testing_profile.cc |
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
| index 7d26924df929de1a9102248ef2297d5aa1eaa7cb..222cda51c4dc3671c40ea4463878ee1d4b3d7d49 100644 |
| --- a/chrome/test/base/testing_profile.cc |
| +++ b/chrome/test/base/testing_profile.cc |
| @@ -195,6 +195,9 @@ TestingProfile::TestingProfile(const FilePath& path, |
| } |
| void TestingProfile::Init() { |
| + if (!file_util::PathExists(profile_path_)) |
|
sky
2012/04/25 15:57:25
Why is this needed?
michaelbai
2012/04/26 05:32:48
For the profile created by TestingProfileManager::
|
| + file_util::CreateDirectory(profile_path_); |
| + |
| ExtensionSystemFactory::GetInstance()->SetTestingFactory( |
| this, TestExtensionSystem::Build); |