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

Unified Diff: content/browser/download/save_file_manager.cc

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 4 years, 5 months 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 | « content/browser/download/download_request_core.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_file_manager.cc
diff --git a/content/browser/download/save_file_manager.cc b/content/browser/download/save_file_manager.cc
index 527a7a18fbbb97f0a11f6618c461cecd538087fa..09e97b551484c8fea77b2777a5e915e4fa709b8f 100644
--- a/content/browser/download/save_file_manager.cc
+++ b/content/browser/download/save_file_manager.cc
@@ -200,8 +200,7 @@ void SaveFileManager::UpdateSaveProgress(SaveItemId save_item_id,
void SaveFileManager::SaveFinished(SaveItemId save_item_id,
SavePackageId save_package_id,
bool is_success) {
- DVLOG(20) << " " << __FUNCTION__ << "()"
- << " save_item_id = " << save_item_id
+ DVLOG(20) << __func__ << "() save_item_id = " << save_item_id
<< " save_package_id = " << save_package_id
<< " is_success = " << is_success;
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
@@ -210,8 +209,7 @@ void SaveFileManager::SaveFinished(SaveItemId save_item_id,
SaveFile* save_file = LookupSaveFile(save_item_id);
if (save_file != nullptr) {
DCHECK(save_file->InProgress());
- DVLOG(20) << " " << __FUNCTION__ << "()"
- << " save_file = " << save_file->DebugString();
+ DVLOG(20) << __func__ << "() save_file = " << save_file->DebugString();
bytes_so_far = save_file->BytesSoFar();
save_file->Finish();
save_file->Detach();
« no previous file with comments | « content/browser/download/download_request_core.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698