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

Unified Diff: chrome/browser/component_updater/update_checker.cc

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: chrome/browser/component_updater/update_checker.cc
diff --git a/chrome/browser/component_updater/update_checker.cc b/chrome/browser/component_updater/update_checker.cc
index 92d91d3634438b646238f6e83fb433be329e44d8..f1800cdd1a7817309c9d865db34a4b4ac6a7415a 100644
--- a/chrome/browser/component_updater/update_checker.cc
+++ b/chrome/browser/component_updater/update_checker.cc
@@ -132,9 +132,9 @@ void UpdateCheckerImpl::OnURLFetchComplete(const net::URLFetcher* source) {
int error = 0;
std::string error_message;
- component_updater::UpdateResponse update_response;
+ UpdateResponse update_response;
- if (component_updater::FetchSuccess(*source)) {
+ if (FetchSuccess(*source)) {
std::string xml;
source->GetResponseAsString(&xml);
if (!update_response.Parse(xml)) {
@@ -142,7 +142,7 @@ void UpdateCheckerImpl::OnURLFetchComplete(const net::URLFetcher* source) {
error_message = update_response.errors();
}
} else {
- error = component_updater::GetFetchError(*source);
+ error = GetFetchError(*source);
error_message.assign("network error");
}

Powered by Google App Engine
This is Rietveld 408576698