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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.cc

Issue 706873002: [chrome/browser/download] 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/download/download_status_updater_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/chrome_download_manager_delegate.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc
index 58ffea8783680ede9074a1796ba6ad6254a306d4..437856403dfad37f83e38fa013ccfe406a1a6ba0 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc
@@ -301,8 +301,8 @@ bool ChromeDownloadManagerDelegate::IsDownloadReadyForCompletion(
// Begin the safe browsing download protection check.
DownloadProtectionService* service = GetDownloadProtectionService();
if (service) {
- VLOG(2) << __FUNCTION__ << "() Start SB download check for download = "
- << item->DebugString(false);
+ DVLOG(2) << __FUNCTION__ << "() Start SB download check for download = "
+ << item->DebugString(false);
state = new SafeBrowsingState();
state->set_callback(internal_complete_callback);
item->SetUserData(&kSafeBrowsingUserDataKey, state);
@@ -605,8 +605,8 @@ void ChromeDownloadManagerDelegate::CheckDownloadUrl(
if (service) {
bool is_content_check_supported =
service->IsSupportedDownload(*download, suggested_path);
- VLOG(2) << __FUNCTION__ << "() Start SB URL check for download = "
- << download->DebugString(false);
+ DVLOG(2) << __FUNCTION__ << "() Start SB URL check for download = "
+ << download->DebugString(false);
service->CheckDownloadUrl(*download,
base::Bind(&CheckDownloadUrlDone,
callback,
@@ -635,8 +635,8 @@ void ChromeDownloadManagerDelegate::CheckClientDownloadDone(
if (!item || (item->GetState() != DownloadItem::IN_PROGRESS))
return;
- VLOG(2) << __FUNCTION__ << "() download = " << item->DebugString(false)
- << " verdict = " << result;
+ DVLOG(2) << __FUNCTION__ << "() download = " << item->DebugString(false)
+ << " verdict = " << result;
// We only mark the content as being dangerous if the download's safety state
// has not been set to DANGEROUS yet. We don't want to show two warnings.
if (item->GetDangerType() == content::DOWNLOAD_DANGER_TYPE_NOT_DANGEROUS ||
« no previous file with comments | « no previous file | chrome/browser/download/download_status_updater_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698