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

Unified Diff: extensions/utility/unpacker_unittest.cc

Issue 2314363002: extensions: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Comment addressed 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
« no previous file with comments | « extensions/common/file_util_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/utility/unpacker_unittest.cc
diff --git a/extensions/utility/unpacker_unittest.cc b/extensions/utility/unpacker_unittest.cc
index 8954b1846bcd41cc2435017c7b46fb93b305b907..4ed7e7e11fcd1ab882727fab55b68e6c59201408 100644
--- a/extensions/utility/unpacker_unittest.cc
+++ b/extensions/utility/unpacker_unittest.cc
@@ -33,7 +33,7 @@ namespace keys = manifest_keys;
class UnpackerTest : public testing::Test {
public:
~UnpackerTest() override {
- VLOG(1) << "Deleting temp dir: " << temp_dir_.path().LossyDisplayName();
+ VLOG(1) << "Deleting temp dir: " << temp_dir_.GetPath().LossyDisplayName();
VLOG(1) << temp_dir_.Delete();
}
@@ -47,13 +47,14 @@ class UnpackerTest : public testing::Test {
// a temp folder to play in.
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- base::FilePath unzipped_dir = temp_dir_.path().AppendASCII("unzipped");
+ base::FilePath unzipped_dir = temp_dir_.GetPath().AppendASCII("unzipped");
ASSERT_TRUE(zip::Unzip(crx_path, unzipped_dir))
<< "Failed to unzip " << crx_path.value() << " to "
<< unzipped_dir.value();
- unpacker_.reset(new Unpacker(temp_dir_.path(), unzipped_dir, std::string(),
- Manifest::INTERNAL, Extension::NO_FLAGS));
+ unpacker_.reset(new Unpacker(temp_dir_.GetPath(), unzipped_dir,
+ std::string(), Manifest::INTERNAL,
+ Extension::NO_FLAGS));
}
protected:
« no previous file with comments | « extensions/common/file_util_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698