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

Unified Diff: chrome/browser/media/output_protection_impl.cc

Issue 2518403004: media: Use __func__ instead of __FUNCTION__ (Closed)
Patch Set: rebase Created 4 years 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/media/output_protection_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/output_protection_impl.cc
diff --git a/chrome/browser/media/output_protection_impl.cc b/chrome/browser/media/output_protection_impl.cc
index 2c6bf1188a3f08412e841b499cc5db16f7ff383a..de1471bf6aee6137b78c2070c24f551a71a8a484 100644
--- a/chrome/browser/media/output_protection_impl.cc
+++ b/chrome/browser/media/output_protection_impl.cc
@@ -14,7 +14,7 @@
void OutputProtectionImpl::Create(
content::RenderFrameHost* render_frame_host,
media::mojom::OutputProtectionRequest request) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
DCHECK(render_frame_host);
mojo::MakeStrongBinding(base::MakeUnique<OutputProtectionImpl>(
@@ -36,7 +36,7 @@ OutputProtectionImpl::~OutputProtectionImpl() {
}
void OutputProtectionImpl::QueryStatus(const QueryStatusCallback& callback) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
GetProxy()->QueryStatus(base::Bind(&OutputProtectionImpl::OnQueryStatusResult,
@@ -46,7 +46,7 @@ void OutputProtectionImpl::QueryStatus(const QueryStatusCallback& callback) {
void OutputProtectionImpl::EnableProtection(
uint32_t desired_protection_mask,
const EnableProtectionCallback& callback) {
- DVLOG(2) << __FUNCTION__;
+ DVLOG(2) << __func__;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
GetProxy()->EnableProtection(
@@ -60,8 +60,7 @@ void OutputProtectionImpl::OnQueryStatusResult(
bool success,
uint32_t link_mask,
uint32_t protection_mask) {
- DVLOG(2) << __FUNCTION__ << ": success=" << success
- << ", link_mask=" << link_mask
+ DVLOG(2) << __func__ << ": success=" << success << ", link_mask=" << link_mask
<< ", protection_mask=" << protection_mask;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
callback.Run(success, link_mask, protection_mask);
@@ -70,7 +69,7 @@ void OutputProtectionImpl::OnQueryStatusResult(
void OutputProtectionImpl::OnEnableProtectionResult(
const EnableProtectionCallback& callback,
bool success) {
- DVLOG(2) << __FUNCTION__ << ": success=" << success;
+ DVLOG(2) << __func__ << ": success=" << success;
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
callback.Run(success);
}
« no previous file with comments | « no previous file | chrome/browser/media/output_protection_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698