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

Unified Diff: chrome/browser/extensions/pack_extension_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
Index: chrome/browser/extensions/pack_extension_unittest.cc
diff --git a/chrome/browser/extensions/pack_extension_unittest.cc b/chrome/browser/extensions/pack_extension_unittest.cc
index daf05ba1501ad51dde43adb12b2f45106db13277..a4f73714fe7ce57c4fbc84ed2887aac39c8a4b78 100644
--- a/chrome/browser/extensions/pack_extension_unittest.cc
+++ b/chrome/browser/extensions/pack_extension_unittest.cc
@@ -31,10 +31,10 @@ class PackExtensionTest : public testing::Test {
bool TestPackExtension(const base::FilePath& path) {
base::ScopedTempDir temp_dir;
EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
- EXPECT_TRUE(base::CopyDirectory(path, temp_dir.path(), true));
+ EXPECT_TRUE(base::CopyDirectory(path, temp_dir.GetPath(), true));
base::CommandLine command_line(base::CommandLine::NO_PROGRAM);
command_line.AppendSwitchPath(switches::kPackExtension,
- temp_dir.path().Append(path.BaseName()));
+ temp_dir.GetPath().Append(path.BaseName()));
return startup_helper_.PackExtension(command_line);
}
« no previous file with comments | « chrome/browser/extensions/fetch_apitest.cc ('k') | chrome/browser/extensions/process_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698