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

Unified Diff: chrome/installer/util/install_util_unittest.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/installer/util/install_util_unittest.cc
diff --git a/chrome/installer/util/install_util_unittest.cc b/chrome/installer/util/install_util_unittest.cc
index fd23949cd2f954e4760987ec959e9d06b5ee0b77..2ebcbfc46c4f8591b6e2982d9119813e0deb35a3 100644
--- a/chrome/installer/util/install_util_unittest.cc
+++ b/chrome/installer/util/install_util_unittest.cc
@@ -324,7 +324,7 @@ TEST_F(InstallUtilTest, ProgramCompare) {
base::ScopedTempDir test_dir;
ASSERT_TRUE(test_dir.CreateUniqueTempDir());
const base::FilePath some_long_dir(
- test_dir.path().Append(L"Some Long Directory Name"));
+ test_dir.GetPath().Append(L"Some Long Directory Name"));
const base::FilePath expect(some_long_dir.Append(L"file.txt"));
const base::FilePath expect_upcase(some_long_dir.Append(L"FILE.txt"));
const base::FilePath other(some_long_dir.Append(L"otherfile.txt"));
@@ -373,7 +373,7 @@ TEST_F(InstallUtilTest, ProgramCompareWithDirectories) {
base::ScopedTempDir test_dir;
ASSERT_TRUE(test_dir.CreateUniqueTempDir());
const base::FilePath some_long_dir(
- test_dir.path().Append(L"Some Long Directory Name"));
+ test_dir.GetPath().Append(L"Some Long Directory Name"));
const base::FilePath expect(some_long_dir.Append(L"directory"));
const base::FilePath expect_upcase(some_long_dir.Append(L"DIRECTORY"));
const base::FilePath other(some_long_dir.Append(L"other_directory"));
« no previous file with comments | « chrome/installer/util/duplicate_tree_detector_unittest.cc ('k') | chrome/installer/util/installer_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698