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

Unified Diff: chrome/utility/importer/edge_database_reader_unittest_win.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
Index: chrome/utility/importer/edge_database_reader_unittest_win.cc
diff --git a/chrome/utility/importer/edge_database_reader_unittest_win.cc b/chrome/utility/importer/edge_database_reader_unittest_win.cc
index 964d3f296a329567d99d1496186f4a33ebe4778b..630f439ecfac0f357ab278f3b8c7b88aef6d94c6 100644
--- a/chrome/utility/importer/edge_database_reader_unittest_win.cc
+++ b/chrome/utility/importer/edge_database_reader_unittest_win.cc
@@ -31,7 +31,7 @@ class EdgeDatabaseReaderTest : public ::testing::Test {
input_path = test_data_path_.AppendASCII("edge_database_reader")
.Append(database_name)
.AddExtension(L".gz");
- base::FilePath output_path = temp_dir_.path().Append(database_name);
+ base::FilePath output_path = temp_dir_.GetPath().Append(database_name);
if (DecompressDatabase(input_path, output_path)) {
*copied_path = output_path;
@@ -43,7 +43,7 @@ class EdgeDatabaseReaderTest : public ::testing::Test {
bool WriteFile(const base::string16& name,
const std::string& contents,
base::FilePath* output_path) {
- *output_path = temp_dir_.path().Append(name);
+ *output_path = temp_dir_.GetPath().Append(name);
return base::WriteFile(*output_path, contents.c_str(), contents.size()) >=
0;
}
« no previous file with comments | « chrome/utility/image_writer/image_writer_unittest.cc ('k') | chrome/utility/importer/firefox_importer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698