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

Unified Diff: src/platform/update_engine/download_action.cc

Issue 545072: AU: Gut code for old updater. New protobuf for v2 updater. (Closed)
Patch Set: better comments Created 10 years, 11 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: src/platform/update_engine/download_action.cc
diff --git a/src/platform/update_engine/download_action.cc b/src/platform/update_engine/download_action.cc
index 833f806edd1baa32105248768c1a9ad6ed4639ba..6da671947a28b33c5543063f05ce1e70dda617e3 100644
--- a/src/platform/update_engine/download_action.cc
+++ b/src/platform/update_engine/download_action.cc
@@ -31,7 +31,7 @@ void DownloadAction::PerformAction() {
should_decompress_ = install_plan.is_full_update;
url_ = install_plan.download_url;
- output_path_ = install_plan.download_path;
+ output_path_ = install_plan.install_path;
hash_ = install_plan.download_hash;
install_plan.Dump();
@@ -39,7 +39,6 @@ void DownloadAction::PerformAction() {
decompressing_file_writer_.reset(
new GzipDecompressingFileWriter(direct_file_writer_.get()));
writer_ = decompressing_file_writer_.get();
- output_path_ = install_plan.install_path;
} else {
writer_ = direct_file_writer_.get();
}

Powered by Google App Engine
This is Rietveld 408576698