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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.cc

Issue 688993004: [chrome/browser/s*] Convert VLOGs to DVLOGs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing the patch and removing supervised_users related change 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
Index: chrome/browser/safe_browsing/protocol_manager.cc
diff --git a/chrome/browser/safe_browsing/protocol_manager.cc b/chrome/browser/safe_browsing/protocol_manager.cc
index 093947edf4f4ada274e8f51565a8c08ac26c87bb..234a0e7966442771470928a16c6908c5deebf94d 100644
--- a/chrome/browser/safe_browsing/protocol_manager.cc
+++ b/chrome/browser/safe_browsing/protocol_manager.cc
@@ -261,12 +261,12 @@ void SafeBrowsingProtocolManager::OnURLFetchComplete(
HandleGetHashError(Time::Now());
if (source->GetStatus().status() == net::URLRequestStatus::FAILED) {
RecordGetHashResult(details.is_download, GET_HASH_NETWORK_ERROR);
- VLOG(1) << "SafeBrowsing GetHash request for: " << source->GetURL()
- << " failed with error: " << source->GetStatus().error();
+ DVLOG(1) << "SafeBrowsing GetHash request for: " << source->GetURL()
+ << " failed with error: " << source->GetStatus().error();
} else {
RecordGetHashResult(details.is_download, GET_HASH_HTTP_ERROR);
- VLOG(1) << "SafeBrowsing GetHash request for: " << source->GetURL()
- << " failed with error: " << source->GetResponseCode();
+ DVLOG(1) << "SafeBrowsing GetHash request for: " << source->GetURL()
+ << " failed with error: " << source->GetResponseCode();
}
}
@@ -303,8 +303,8 @@ void SafeBrowsingProtocolManager::OnURLFetchComplete(
const bool parsed_ok = HandleServiceResponse(
source->GetURL(), data.data(), data.length());
if (!parsed_ok) {
- VLOG(1) << "SafeBrowsing request for: " << source->GetURL()
- << " failed parse.";
+ DVLOG(1) << "SafeBrowsing request for: " << source->GetURL()
+ << " failed parse.";
chunk_request_urls_.clear();
if (request_type_ == UPDATE_REQUEST &&
IssueBackupUpdateRequest(BACKUP_UPDATE_REASON_HTTP)) {
@@ -338,11 +338,11 @@ void SafeBrowsingProtocolManager::OnURLFetchComplete(
}
} else {
if (status.status() == net::URLRequestStatus::FAILED) {
- VLOG(1) << "SafeBrowsing request for: " << source->GetURL()
- << " failed with error: " << source->GetStatus().error();
+ DVLOG(1) << "SafeBrowsing request for: " << source->GetURL()
+ << " failed with error: " << source->GetStatus().error();
} else {
- VLOG(1) << "SafeBrowsing request for: " << source->GetURL()
- << " failed with error: " << source->GetResponseCode();
+ DVLOG(1) << "SafeBrowsing request for: " << source->GetURL()
+ << " failed with error: " << source->GetResponseCode();
}
if (request_type_ == CHUNK_REQUEST) {
// The SafeBrowsing service error, or very bad response code: back off.

Powered by Google App Engine
This is Rietveld 408576698