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

Unified Diff: ui/app_list/search/history_data_store_unittest.cc

Issue 2317123003: misc files R-U: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Fix exec_process_unittest.cc 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: ui/app_list/search/history_data_store_unittest.cc
diff --git a/ui/app_list/search/history_data_store_unittest.cc b/ui/app_list/search/history_data_store_unittest.cc
index 6bbf709158ba12ec8b05a37f5527a2e944df37fd..1d2a82b5073c2c4c5bb115b4af8f991e7b2f5560 100644
--- a/ui/app_list/search/history_data_store_unittest.cc
+++ b/ui/app_list/search/history_data_store_unittest.cc
@@ -53,7 +53,7 @@ class HistoryDataStoreTest : public testing::Test {
}
void OpenStore(const std::string& file_name) {
- data_file_ = temp_dir_.path().AppendASCII(file_name);
+ data_file_ = temp_dir_.GetPath().AppendASCII(file_name);
store_ = new HistoryDataStore(scoped_refptr<DictionaryDataStore>(
new DictionaryDataStore(data_file_, worker_pool_owner_.pool().get())));
Load();
@@ -70,8 +70,8 @@ class HistoryDataStoreTest : public testing::Test {
}
void WriteDataFile(const std::string& file_name, const std::string& data) {
- base::WriteFile(
- temp_dir_.path().AppendASCII(file_name), data.c_str(), data.size());
+ base::WriteFile(temp_dir_.GetPath().AppendASCII(file_name), data.c_str(),
+ data.size());
}
HistoryDataStore* store() { return store_.get(); }

Powered by Google App Engine
This is Rietveld 408576698