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

Unified Diff: chrome/browser/history/history_backend.cc

Issue 693693004: [content/browser/history] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/history/visit_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history_backend.cc
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc
index bf83121f14515e3ee3d8c9990e38ae42b95faa26..022cb1c56b13f2ccf9606f255c7339da88a82cf3 100644
--- a/chrome/browser/history/history_backend.cc
+++ b/chrome/browser/history/history_backend.cc
@@ -810,8 +810,8 @@ std::pair<URLID, VisitID> HistoryBackend::AddPageVisit(
// QueryRedirectsTo(url, &redirects);
NotifyURLVisited(transition, url_info, redirects, time);
} else {
- VLOG(0) << "Failed to build visit insert statement: "
- << "url_id = " << url_id;
+ DVLOG(0) << "Failed to build visit insert statement: "
+ << "url_id = " << url_id;
}
return std::make_pair(url_id, visit_id);
@@ -1229,15 +1229,15 @@ void HistoryBackend::QueryHistoryBasic(const QueryOptions& options,
// Add a result row for this visit, get the URL info from the DB.
if (!db_->GetURLRow(visit.url_id, &url_result)) {
- VLOG(0) << "Failed to get id " << visit.url_id
- << " from history.urls.";
+ DVLOG(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()) {
- VLOG(0) << "Got invalid URL from history.urls with id "
- << visit.url_id << ": "
- << url_result.url().possibly_invalid_spec();
+ DVLOG(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.
}
« no previous file with comments | « no previous file | chrome/browser/history/visit_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698