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

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

Issue 2321573002: //chrome misc: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix Win compilation Created 4 years, 3 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
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile_manager.cc
diff --git a/chrome/test/base/testing_profile_manager.cc b/chrome/test/base/testing_profile_manager.cc
index a3c82db36744afcbf528381eaa70a94606cc26e3..4c0b55fc62a7442d370a1ee6d2d48cf30b18835e 100644
--- a/chrome/test/base/testing_profile_manager.cc
+++ b/chrome/test/base/testing_profile_manager.cc
@@ -68,7 +68,7 @@ TestingProfile* TestingProfileManager::CreateTestingProfile(
DCHECK(called_set_up_);
// Create a path for the profile based on the name.
- base::FilePath profile_path(profiles_dir_.path());
+ base::FilePath profile_path(profiles_dir_.GetPath());
#if defined(OS_CHROMEOS)
if (profile_name != chrome::kInitialProfile) {
profile_path =
@@ -223,7 +223,7 @@ void TestingProfileManager::UpdateLastUser(Profile* last_active) {
const base::FilePath& TestingProfileManager::profiles_dir() {
DCHECK(called_set_up_);
- return profiles_dir_.path();
+ return profiles_dir_.GetPath();
}
ProfileManager* TestingProfileManager::profile_manager() {
@@ -247,7 +247,7 @@ void TestingProfileManager::SetUpInternal() {
// Set up the directory for profiles.
ASSERT_TRUE(profiles_dir_.CreateUniqueTempDir());
- profile_manager_ = new testing::ProfileManager(profiles_dir_.path());
+ profile_manager_ = new testing::ProfileManager(profiles_dir_.GetPath());
browser_process_->SetProfileManager(profile_manager_); // Takes ownership.
profile_manager_->GetProfileInfoCache().
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698