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

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: 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
« no previous file with comments | « tools/gn/function_write_file_unittest.cc ('k') | ui/base/resource/data_pack_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69fb2a0e8a991f39ad6fad8f8b005932424e97a0..9b582d68bec46b07b6655102ac23c875cea3b2fe 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(); }
« no previous file with comments | « tools/gn/function_write_file_unittest.cc ('k') | ui/base/resource/data_pack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698