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

Unified Diff: components/password_manager/core/browser/import/password_importer_unittest.cc

Issue 2320653002: Autofill and password_manager: 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: components/password_manager/core/browser/import/password_importer_unittest.cc
diff --git a/components/password_manager/core/browser/import/password_importer_unittest.cc b/components/password_manager/core/browser/import/password_importer_unittest.cc
index 90d7ca9deb8e1e3190110ce5c967a0a39805feb2..24ff2dce5bc9ac74923779ffdd7ab206d03cf026 100644
--- a/components/password_manager/core/browser/import/password_importer_unittest.cc
+++ b/components/password_manager/core/browser/import/password_importer_unittest.cc
@@ -76,7 +76,8 @@ TEST_F(PasswordImporterTest, CSVImport) {
"Url,Username,Password\n"
"http://accounts.google.com/a/LoginAuth,test@gmail.com,test1\n";
- base::FilePath input_path = temp_directory_.path().AppendASCII(kTestFileName);
+ base::FilePath input_path =
+ temp_directory_.GetPath().AppendASCII(kTestFileName);
ASSERT_TRUE(
base::WriteFile(input_path, kTestCSVInput, strlen(kTestCSVInput)));
ASSERT_NO_FATAL_FAILURE(StartImportAndWaitForCompletion(input_path));

Powered by Google App Engine
This is Rietveld 408576698