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

Unified Diff: extensions/browser/sandboxed_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/browser/sandboxed_unpacker.cc ('k') | extensions/browser/updater/update_install_shim.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/sandboxed_unpacker_unittest.cc
diff --git a/extensions/browser/sandboxed_unpacker_unittest.cc b/extensions/browser/sandboxed_unpacker_unittest.cc
index 8e6c774f7a33d94bd2b57f4caf9b4bb764152412..ebd01aa310f19d419d367c0de3420af7be1c8038 100644
--- a/extensions/browser/sandboxed_unpacker_unittest.cc
+++ b/extensions/browser/sandboxed_unpacker_unittest.cc
@@ -74,7 +74,7 @@ class SandboxedUnpackerTest : public ExtensionsTest {
client_ = new MockSandboxedUnpackerClient;
sandboxed_unpacker_ = new SandboxedUnpacker(
- Manifest::INTERNAL, Extension::NO_FLAGS, extensions_dir_.path(),
+ Manifest::INTERNAL, Extension::NO_FLAGS, extensions_dir_.GetPath(),
base::ThreadTaskRunnerHandle::Get(), client_);
}
@@ -109,7 +109,7 @@ class SandboxedUnpackerTest : public ExtensionsTest {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
base::FilePath crx_path = GetCrxFullPath(crx_name);
- ASSERT_TRUE(zip::Unzip(crx_path, temp_dir.path()));
+ ASSERT_TRUE(zip::Unzip(crx_path, temp_dir.GetPath()));
std::string fake_id = crx_file::id_util::GenerateId(crx_name);
std::string fake_public_key;
« no previous file with comments | « extensions/browser/sandboxed_unpacker.cc ('k') | extensions/browser/updater/update_install_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698