summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 03:35:47 +0000
committerskerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-13 03:35:47 +0000
commitd4a41f3af13083e1bd0b595f4b9d3b3856c22263 (patch)
tree139f6bd9824292f3312c856db16a462805ee4de1 /chrome
parentb01f6646e6b9d0727505b362a4738099e797b31d (diff)
downloadchromium_src-d4a41f3af13083e1bd0b595f4b9d3b3856c22263.zip
chromium_src-d4a41f3af13083e1bd0b595f4b9d3b3856c22263.tar.gz
chromium_src-d4a41f3af13083e1bd0b595f4b9d3b3856c22263.tar.bz2
Revert 77957 - Raise logging level, so we can see logs of extension histrory tests on the waterfall.
This change will be revered as soon as buildbot logs are available. BUG=none TEST=ExtensionHisitoryApiTest.* Review URL: http://codereview.chromium.org/6686029 TBR=skerner@chromium.org Review URL: http://codereview.chromium.org/6684027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/extensions/extension_history_api.cc12
-rw-r--r--chrome/browser/history/history_backend.cc10
2 files changed, 5 insertions, 17 deletions
diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc
index 2016a77..49929bd 100644
--- a/chrome/browser/extensions/extension_history_api.cc
+++ b/chrome/browser/extensions/extension_history_api.cc
@@ -120,12 +120,6 @@ void ExtensionHistoryEventRouter::HistoryUrlVisited(
std::string json_args;
base::JSONWriter::Write(&args, false, &json_args);
-
- // Logging to discover if this happens after search on XP in
- // ExtensionHistoryTest.*.
- LOG(WARNING) << "ExtensionHistoryEventRouter::HistoryUrlVisited(): "
- << json_args;
-
DispatchEvent(profile, keys::kOnVisited, json_args);
}
@@ -146,12 +140,6 @@ void ExtensionHistoryEventRouter::HistoryUrlsRemoved(
std::string json_args;
base::JSONWriter::Write(&args, false, &json_args);
-
- // Logging to discover if this happens after search on XP in
- // ExtensionHistoryTest.*.
- LOG(WARNING) << "ExtensionHistoryEventRouter::HistoryUrlRemoved(): "
- << json_args;
-
DispatchEvent(profile, keys::kOnVisitRemoved, json_args);
}
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index 0f1dd26..b303dc12 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -1208,15 +1208,15 @@ void HistoryBackend::QueryHistoryBasic(URLDatabase* url_db,
// Add a result row for this visit, get the URL info from the DB.
if (!url_db->GetURLRow(visit.url_id, &url_result)) {
- LOG(WARNING) << "Failed to get id " << visit.url_id
- << " from history.urls.";
+ VLOG(0) << "Failed to get id " << visit.url_id
+ << " from history.urls.";
continue; // DB out of sync and URL doesn't exist, try to recover.
}
if (!url_result.url().is_valid()) {
- LOG(WARNING) << "Got invalid URL from history.urls with id "
- << visit.url_id << ": "
- << url_result.url().possibly_invalid_spec();
+ VLOG(0) << "Got invalid URL from history.urls with id "
+ << visit.url_id << ": "
+ << url_result.url().possibly_invalid_spec();
continue; // Don't report invalid URLs in case of corruption.
}