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

Unified Diff: src/platform/update_engine/install_plan.h

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/install_plan.h
diff --git a/src/platform/update_engine/install_plan.h b/src/platform/update_engine/install_plan.h
index 81893d871a18a38937859f3765aab4605f62378a..9151e1b88546559fd43ab3061693d04799dd2309 100644
--- a/src/platform/update_engine/install_plan.h
+++ b/src/platform/update_engine/install_plan.h
@@ -17,26 +17,22 @@ struct InstallPlan {
InstallPlan(bool is_full,
const std::string& url,
const std::string& hash,
- const std::string& d_path,
- const std::string& i_path)
+ const std::string& install_path)
: is_full_update(is_full),
download_url(url),
download_hash(hash),
- download_path(d_path),
- install_path(i_path) {}
+ install_path(install_path) {}
InstallPlan() : is_full_update(false) {}
bool is_full_update;
std::string download_url; // url to download from
std::string download_hash; // hash of the data at the url
- std::string download_path; // path to downloaded file from Omaha
std::string install_path; // path to install device
bool operator==(const InstallPlan& that) const {
return (is_full_update == that.is_full_update) &&
(download_url == that.download_url) &&
(download_hash == that.download_hash) &&
- (download_path == that.download_path) &&
(install_path == that.install_path);
}
bool operator!=(const InstallPlan& that) const {
@@ -46,7 +42,6 @@ struct InstallPlan {
LOG(INFO) << "InstallPlan: "
<< (is_full_update ? "full_update" : "delta_update")
<< ", url: " << download_url << ", hash: " << download_hash
- << ", path: " << download_path
<< ", install_path: " << install_path;
}
};

Powered by Google App Engine
This is Rietveld 408576698