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

Unified Diff: content/browser/plugin_private_storage_helper.cc

Issue 2161193003: Use __func__ instead of __FUNCTION__. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format hates WebKit style 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
Index: content/browser/plugin_private_storage_helper.cc
diff --git a/content/browser/plugin_private_storage_helper.cc b/content/browser/plugin_private_storage_helper.cc
index 023693290d6a3c0d9a7c9e26ddf0555a339bc117..d7c6228a294541d4c7bd67ad308f60d6791f9640 100644
--- a/content/browser/plugin_private_storage_helper.cc
+++ b/content/browser/plugin_private_storage_helper.cc
@@ -156,7 +156,7 @@ void PluginPrivateDataByOriginChecker::OnDirectoryRead(
const storage::AsyncFileUtil::EntryList& file_list,
bool has_more) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
- DVLOG(3) << __FUNCTION__ << " result: " << result
+ DVLOG(3) << __func__ << " result: " << result
<< ", #files: " << file_list.size();
// Quit if there is an error.
@@ -173,7 +173,7 @@ void PluginPrivateDataByOriginChecker::OnDirectoryRead(
storage::AsyncFileUtil* file_util = filesystem_context_->GetAsyncFileUtil(
storage::kFileSystemTypePluginPrivate);
for (const auto& file : file_list) {
- DVLOG(3) << __FUNCTION__ << " file: " << file.name;
+ DVLOG(3) << __func__ << " file: " << file.name;
DCHECK(!file.is_directory); // Nested directories not implemented.
std::unique_ptr<storage::FileSystemOperationContext> operation_context =
@@ -205,7 +205,7 @@ void PluginPrivateDataByOriginChecker::OnFileInfo(
DCHECK_CURRENTLY_ON(BrowserThread::IO);
if (result == base::File::FILE_OK) {
- DVLOG(3) << __FUNCTION__ << " name: " << file_name
+ DVLOG(3) << __func__ << " name: " << file_name
<< ", size: " << file_info.size
<< ", modified: " << file_info.last_modified;
if (file_info.last_modified >= begin_ && file_info.last_modified <= end_)

Powered by Google App Engine
This is Rietveld 408576698