Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: chrome/test/base/testing_profile.cc

Issue 10217010: Completed the code path from AndroidProviderService to HistoryBackend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Init Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« chrome/browser/history/history_marshaling.h ('K') | « chrome/common/chrome_constants.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698