| 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 f1800cdd1a7817309c9d865db34a4b4ac6a7415a..bd2fc0a82ab8055d2eb7a9aeda34c7c43f2e5a63 100644
|
| --- a/chrome/browser/component_updater/update_checker.cc
|
| +++ b/chrome/browser/component_updater/update_checker.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/component_updater/update_checker.h"
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "base/logging.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "chrome/browser/component_updater/component_updater_utils.h"
|
| #include "chrome/browser/component_updater/crx_update_item.h"
|
| @@ -54,6 +55,7 @@ std::string BuildUpdateCheckRequest(const std::vector<CrxUpdateItem*>& items,
|
| }
|
| base::StringAppendF(&app, "</app>");
|
| app_elements.append(app);
|
| + VLOG(1) << "Appending to update request: " << app;
|
| }
|
|
|
| return BuildProtocolRequest(app_elements, additional_attributes);
|
| @@ -140,10 +142,12 @@ void UpdateCheckerImpl::OnURLFetchComplete(const net::URLFetcher* source) {
|
| if (!update_response.Parse(xml)) {
|
| error = -1;
|
| error_message = update_response.errors();
|
| + VLOG(1) << "Update request failed: " << error_message;
|
| }
|
| } else {
|
| error = GetFetchError(*source);
|
| error_message.assign("network error");
|
| + VLOG(1) << "Update request failed: network error";
|
| }
|
|
|
| url_fetcher_.reset();
|
|
|