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

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

Issue 283623002: Add support for passing an arbitrary parameter to an IPC message handler. The motivation is for Web… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 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
Index: chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc
===================================================================
--- chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc (revision 270145)
+++ chrome/browser/renderer_host/pepper/pepper_platform_verification_message_filter.cc (working copy)
@@ -42,10 +42,11 @@
ppapi::host::HostMessageContext* context) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
- IPC_BEGIN_MESSAGE_MAP(PepperPlatformVerificationMessageFilter, msg)
- PPAPI_DISPATCH_HOST_RESOURCE_CALL(
- PpapiHostMsg_PlatformVerification_ChallengePlatform, OnChallengePlatform)
- IPC_END_MESSAGE_MAP()
+ PPAPI_BEGIN_MESSAGE_MAP(PepperPlatformVerificationMessageFilter, msg)
+ PPAPI_DISPATCH_HOST_RESOURCE_CALL(
+ PpapiHostMsg_PlatformVerification_ChallengePlatform,
+ OnChallengePlatform)
+ PPAPI_END_MESSAGE_MAP()
return PP_ERROR_FAILED;
}

Powered by Google App Engine
This is Rietveld 408576698