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

Unified Diff: extensions/browser/updater/update_install_shim.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: extensions/browser/updater/update_install_shim.cc
diff --git a/extensions/browser/updater/update_install_shim.cc b/extensions/browser/updater/update_install_shim.cc
index 4b6f58294aab5720e81839c0dc90c9363f591e60..4072a85d1d774932663baf0fc78d9e7309cb6680 100644
--- a/extensions/browser/updater/update_install_shim.cc
+++ b/extensions/browser/updater/update_install_shim.cc
@@ -34,11 +34,11 @@ bool UpdateInstallShim::Install(const base::DictionaryValue& manifest,
// The UpdateClient code will delete unpack_path if it still exists after
// this method is done, so we rename it on top of our temp dir.
- if (!base::DeleteFile(temp_dir.path(), true) ||
- !base::Move(unpack_path, temp_dir.path())) {
+ if (!base::DeleteFile(temp_dir.GetPath(), true) ||
+ !base::Move(unpack_path, temp_dir.GetPath())) {
LOG(ERROR) << "Trying to install update for " << extension_id_
<< "and failed to move " << unpack_path.value() << " to "
- << temp_dir.path().value();
+ << temp_dir.GetPath().value();
return false;
}
content::BrowserThread::PostTask(
« no previous file with comments | « extensions/browser/sandboxed_unpacker_unittest.cc ('k') | extensions/browser/updater/update_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698