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

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

Issue 1881001: AU: Many minor cleanup changes (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: fixes for review Created 10 years, 8 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/update_check_action.cc
diff --git a/src/platform/update_engine/update_check_action.cc b/src/platform/update_engine/update_check_action.cc
index b92e78862b0253828c3ef4d0d1beef185ce7828a..106400b90c280d57bac8ffe4ff60f2b3c9506e45 100644
--- a/src/platform/update_engine/update_check_action.cc
+++ b/src/platform/update_engine/update_check_action.cc
@@ -22,6 +22,8 @@ const char* const UpdateCheckParams::kAppId(
"{87efface-864d-49a5-9bb3-4b050a7c227a}");
const char* const UpdateCheckParams::kOsPlatform("Chrome OS");
const char* const UpdateCheckParams::kOsVersion("Indy");
+const char* const UpdateCheckParams::kUpdateUrl(
+ "https://tools.google.com/service/update2");
namespace {
@@ -105,7 +107,7 @@ void UpdateCheckAction::PerformAction() {
http_fetcher_->set_delegate(this);
string request_post(FormatRequest(params_));
http_fetcher_->SetPostData(request_post.data(), request_post.size());
- http_fetcher_->BeginTransfer("https://tools.google.com/service/update2");
+ http_fetcher_->BeginTransfer(params_.update_url);
}
void UpdateCheckAction::TerminateProcessing() {
« no previous file with comments | « src/platform/update_engine/update_check_action.h ('k') | src/platform/update_engine/update_check_action_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698