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

Unified Diff: chrome/browser/safe_browsing/client_side_detection_service.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/client_side_detection_service.cc
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.cc b/chrome/browser/safe_browsing/client_side_detection_service.cc
index 41e4ecc838cd1d497486bc57d2bca460e8cc1c97..31ead23ac16354eb04757ac58e06920aace917d3 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_service.cc
@@ -188,7 +188,7 @@ bool ClientSideDetectionService::IsPrivateIPAddress(
const std::string& ip_address) const {
net::IPAddressNumber ip_number;
if (!net::ParseIPLiteralToNumber(ip_address, &ip_number)) {
- VLOG(2) << "Unable to parse IP address: '" << ip_address << "'";
+ DVLOG(2) << "Unable to parse IP address: '" << ip_address << "'";
// Err on the side of safety and assume this might be private.
return true;
}
@@ -241,11 +241,11 @@ void ClientSideDetectionService::SendModelToProcess(
Profile* profile = Profile::FromBrowserContext(process->GetBrowserContext());
std::string model;
if (profile->GetPrefs()->GetBoolean(prefs::kSafeBrowsingEnabled)) {
- VLOG(2) << "Sending phishing model to RenderProcessHost @" << process;
+ DVLOG(2) << "Sending phishing model to RenderProcessHost @" << process;
model = model_str_;
} else {
- VLOG(2) << "Disabling client-side phishing detection for "
- << "RenderProcessHost @" << process;
+ DVLOG(2) << "Disabling client-side phishing detection for "
+ << "RenderProcessHost @" << process;
}
process->Send(new SafeBrowsingMsg_SetPhishingModel(model));
}
@@ -320,7 +320,7 @@ void ClientSideDetectionService::StartClientReportPhishingRequest(
std::string request_data;
if (!request->SerializeToString(&request_data)) {
UMA_HISTOGRAM_COUNTS("SBClientPhishing.RequestNotSerialized", 1);
- VLOG(1) << "Unable to serialize the CSD request. Proto file changed?";
+ DVLOG(1) << "Unable to serialize the CSD request. Proto file changed?";
if (!callback.is_null())
callback.Run(GURL(request->url()), false);
return;
« no previous file with comments | « chrome/browser/safe_browsing/client_side_detection_host.cc ('k') | chrome/browser/safe_browsing/database_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698