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

Unified Diff: extensions/common/file_util.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/extension_resource_unittest.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/file_util.cc
diff --git a/extensions/common/file_util.cc b/extensions/common/file_util.cc
index 4c9e8d3a82e8ab8a101c1a5c7cf18262fcd68914..9e9ab2cc983117539d6fe0385003506b4c1dfbc4 100644
--- a/extensions/common/file_util.cc
+++ b/extensions/common/file_util.cc
@@ -132,7 +132,7 @@ base::FilePath InstallExtension(const base::FilePath& unpacked_source_dir,
return base::FilePath();
}
base::FilePath crx_temp_source =
- extension_temp_dir.path().Append(unpacked_source_dir.BaseName());
+ extension_temp_dir.GetPath().Append(unpacked_source_dir.BaseName());
if (!base::Move(unpacked_source_dir, crx_temp_source)) {
LOG(ERROR) << "Moving extension from : " << unpacked_source_dir.value()
<< " to : " << crx_temp_source.value() << " failed.";
« no previous file with comments | « extensions/common/extension_resource_unittest.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698