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

Unified Diff: chrome/common/importer/firefox_importer_utils_unittest.cc

Issue 2317003002: //chrome/browser and //components F-L: 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/common/importer/firefox_importer_utils_unittest.cc
diff --git a/chrome/common/importer/firefox_importer_utils_unittest.cc b/chrome/common/importer/firefox_importer_utils_unittest.cc
index 90ad6afdc0626811e6d29ad2c8ac7ba7c20ab3c2..6ac9159ad0a07cfc2f7b142aa7d819aaf3204335 100644
--- a/chrome/common/importer/firefox_importer_utils_unittest.cc
+++ b/chrome/common/importer/firefox_importer_utils_unittest.cc
@@ -108,12 +108,13 @@ TEST(FirefoxImporterUtilsTest, GetFirefoxImporterName) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
const base::FilePath app_ini_file(
- temp_dir.path().AppendASCII("application.ini"));
+ temp_dir.GetPath().AppendASCII("application.ini"));
for (size_t i = 0; i < arraysize(GetFirefoxImporterNameCases); ++i) {
base::WriteFile(app_ini_file,
GetFirefoxImporterNameCases[i].app_ini_content.c_str(),
GetFirefoxImporterNameCases[i].app_ini_content.size());
- EXPECT_EQ(GetFirefoxImporterName(temp_dir.path()),
+ EXPECT_EQ(
+ GetFirefoxImporterName(temp_dir.GetPath()),
l10n_util::GetStringUTF16(GetFirefoxImporterNameCases[i].resource_id));
}
EXPECT_EQ(l10n_util::GetStringUTF16(
« no previous file with comments | « chrome/browser/lifetime/browser_close_manager_browsertest.cc ('k') | components/filesystem/file_system_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698