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

Unified Diff: chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc

Issue 1100293004: [chrome/browser/renderer_host] favor DCHECK_CURRENTLY_ON for better logs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing changes Created 5 years, 7 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 | « chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc
diff --git a/chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc b/chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc
index 4cc84f6d8af94fed9295aaf93e3d4d4b5c57ee5b..1c2cd64cc754b1961d9a81a6ee8c5b6c301474a8 100644
--- a/chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc
+++ b/chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc
@@ -40,7 +40,7 @@ PepperPlatformVerificationMessageFilter::OverrideTaskRunnerForMessage(
int32_t PepperPlatformVerificationMessageFilter::OnResourceMessageReceived(
const IPC::Message& msg,
ppapi::host::HostMessageContext* context) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
PPAPI_BEGIN_MESSAGE_MAP(PepperPlatformVerificationMessageFilter, msg)
PPAPI_DISPATCH_HOST_RESOURCE_CALL(
@@ -55,7 +55,7 @@ int32_t PepperPlatformVerificationMessageFilter::OnChallengePlatform(
ppapi::host::HostMessageContext* context,
const std::string& service_id,
const std::vector<uint8_t>& challenge) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
// Ensure the RenderFrameHost is still alive.
content::RenderFrameHost* rfh =
@@ -92,7 +92,7 @@ void PepperPlatformVerificationMessageFilter::ChallengePlatformCallback(
const std::string& signed_data,
const std::string& signature,
const std::string& platform_key_certificate) {
- DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
if (challenge_result == PlatformVerificationFlow::SUCCESS) {
reply_context.params.set_result(PP_OK);
« no previous file with comments | « chrome/browser/renderer_host/pepper/pepper_output_protection_message_filter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698