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

Unified Diff: chrome/browser/prefs/profile_pref_store_manager_unittest.cc

Issue 2317123002: c/browser, c/common, components O-P: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased 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
Index: chrome/browser/prefs/profile_pref_store_manager_unittest.cc
diff --git a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
index 86a74c1e672f33e040fc2f381e4fb1a7034f1e70..f569675f35b82adcbc51ae300c05212e5c1a574b 100644
--- a/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
+++ b/chrome/browser/prefs/profile_pref_store_manager_unittest.cc
@@ -127,12 +127,9 @@ class ProfilePrefStoreManagerTest : public testing::Test {
}
void ReloadConfiguration() {
- manager_.reset(new ProfilePrefStoreManager(profile_dir_.path(),
- configuration_,
- kReportingIdCount,
- seed_,
- "device_id",
- &local_state_));
+ manager_.reset(new ProfilePrefStoreManager(
+ profile_dir_.GetPath(), configuration_, kReportingIdCount, seed_,
+ "device_id", &local_state_));
}
void TearDown() override { DestroyPrefStore(); }
@@ -227,8 +224,8 @@ class ProfilePrefStoreManagerTest : public testing::Test {
void ReplaceStringInPrefs(const std::string& find,
const std::string& replace) {
- base::FileEnumerator file_enum(
- profile_dir_.path(), true, base::FileEnumerator::FILES);
+ base::FileEnumerator file_enum(profile_dir_.GetPath(), true,
+ base::FileEnumerator::FILES);
for (base::FilePath path = file_enum.Next(); !path.empty();
path = file_enum.Next()) {

Powered by Google App Engine
This is Rietveld 408576698