summaryrefslogtreecommitdiffstats
path: root/extensions/browser/updater
diff options
context:
space:
mode:
authormozartalouis <mozartalouis@google.com>2015-06-08 11:50:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-08 18:50:45 +0000
commit32fff1424c5fa41b99bc50cb3c6713e3430e7ef9 (patch)
treebabf54adf8cb9d8b58362776cbb50cd4a6b91b92 /extensions/browser/updater
parent36e228b9ec91c4f4665dccda88d436089a97af34 (diff)
downloadchromium_src-32fff1424c5fa41b99bc50cb3c6713e3430e7ef9.zip
chromium_src-32fff1424c5fa41b99bc50cb3c6713e3430e7ef9.tar.gz
chromium_src-32fff1424c5fa41b99bc50cb3c6713e3430e7ef9.tar.bz2
Extention Logging
BUG=467236 R=oshima@chromium.org Changed all LOG to DLOG and changed ERROR to WARNING. Review URL: https://codereview.chromium.org/1155283004 Cr-Commit-Position: refs/heads/master@{#333304}
Diffstat (limited to 'extensions/browser/updater')
-rw-r--r--extensions/browser/updater/extension_downloader.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/extensions/browser/updater/extension_downloader.cc b/extensions/browser/updater/extension_downloader.cc
index 08e4f8f..a796149 100644
--- a/extensions/browser/updater/extension_downloader.cc
+++ b/extensions/browser/updater/extension_downloader.cc
@@ -306,8 +306,8 @@ bool ExtensionDownloader::AddExtensionData(
GURL update_url(extension_update_url);
// Skip extensions with non-empty invalid update URLs.
if (!update_url.is_empty() && !update_url.is_valid()) {
- LOG(WARNING) << "Extension " << id << " has invalid update url "
- << update_url;
+ DLOG(WARNING) << "Extension " << id << " has invalid update url "
+ << update_url;
return false;
}
@@ -318,7 +318,7 @@ bool ExtensionDownloader::AddExtensionData(
// Skip extensions with empty IDs.
if (id.empty()) {
- LOG(WARNING) << "Found extension with empty ID";
+ DLOG(WARNING) << "Found extension with empty ID";
return false;
}
@@ -676,9 +676,9 @@ void ExtensionDownloader::DetermineUpdates(
update->browser_min_version)) {
// TODO(asargent) - We may want this to show up in the extensions UI
// eventually. (http://crbug.com/12547).
- LOG(WARNING) << "Updated version of extension " << id
- << " available, but requires chrome version "
- << update->browser_min_version;
+ DLOG(WARNING) << "Updated version of extension " << id
+ << " available, but requires chrome version "
+ << update->browser_min_version;
continue;
}
VLOG(2) << "will try to update " << id;
@@ -691,8 +691,8 @@ void ExtensionDownloader::FetchUpdatedExtension(
scoped_ptr<ExtensionFetch> fetch_data) {
if (!fetch_data->url.is_valid()) {
// TODO(asargent): This can sometimes be invalid. See crbug.com/130881.
- LOG(ERROR) << "Invalid URL: '" << fetch_data->url.possibly_invalid_spec()
- << "' for extension " << fetch_data->id;
+ DLOG(WARNING) << "Invalid URL: '" << fetch_data->url.possibly_invalid_spec()
+ << "' for extension " << fetch_data->id;
return;
}