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

Unified Diff: chrome/installer/util/lzma_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/lzma_util_unittest.cc
diff --git a/chrome/installer/util/lzma_util_unittest.cc b/chrome/installer/util/lzma_util_unittest.cc
index 5f00a36d5fb25c2dd10054ebaa86be29277183b6..fbb0abe06e4cc5d658f3a89e03311dad49630aa7 100644
--- a/chrome/installer/util/lzma_util_unittest.cc
+++ b/chrome/installer/util/lzma_util_unittest.cc
@@ -58,7 +58,7 @@ TEST_F(LzmaUtilTest, OpenArchiveTest) {
// Test that we can extract archives successfully.
TEST_F(LzmaUtilTest, UnPackTest) {
- base::FilePath extract_dir(temp_dir_.path());
+ base::FilePath extract_dir(temp_dir_.GetPath());
extract_dir = extract_dir.AppendASCII("UnPackTest");
ASSERT_FALSE(base::PathExists(extract_dir));
EXPECT_TRUE(base::CreateDirectory(extract_dir));
@@ -103,7 +103,7 @@ TEST_F(LzmaUtilTest, UnPackTest) {
// Test the static method that can be used to unpack archives.
TEST_F(LzmaUtilTest, UnPackArchiveTest) {
- base::FilePath extract_dir(temp_dir_.path());
+ base::FilePath extract_dir(temp_dir_.GetPath());
extract_dir = extract_dir.AppendASCII("UnPackArchiveTest");
ASSERT_FALSE(base::PathExists(extract_dir));
EXPECT_TRUE(base::CreateDirectory(extract_dir));
« no previous file with comments | « chrome/installer/util/lzma_file_allocator_unittest.cc ('k') | chrome/installer/util/move_tree_work_item_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698