diff options
author | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 03:21:33 +0000 |
---|---|---|
committer | skerner@chromium.org <skerner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-13 03:21:33 +0000 |
commit | 2057e9c6baf4c2dd88f0eb35151037874a283030 (patch) | |
tree | 7f81befafabd9bd4d8a15fcab3961971db41d36c /chrome | |
parent | 01c49e4e39608f3f5e6cfbe063d392244e68af07 (diff) | |
download | chromium_src-2057e9c6baf4c2dd88f0eb35151037874a283030.zip chromium_src-2057e9c6baf4c2dd88f0eb35151037874a283030.tar.gz chromium_src-2057e9c6baf4c2dd88f0eb35151037874a283030.tar.bz2 |
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
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/extensions/extension_history_api.cc | 12 | ||||
-rw-r--r-- | chrome/browser/history/history_backend.cc | 10 |
2 files changed, 17 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc index 49929bd..2016a77 100644 --- a/chrome/browser/extensions/extension_history_api.cc +++ b/chrome/browser/extensions/extension_history_api.cc @@ -120,6 +120,12 @@ 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); } @@ -140,6 +146,12 @@ 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 b303dc12..0f1dd26 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)) { - VLOG(0) << "Failed to get id " << visit.url_id - << " from history.urls."; + LOG(WARNING) << "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()) { - VLOG(0) << "Got invalid URL from history.urls with id " - << visit.url_id << ": " - << url_result.url().possibly_invalid_spec(); + LOG(WARNING) << "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. } |