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

Unified Diff: ppapi/host/host_message_context.h

Issue 10912062: Implement the gamepad API in the IPC proxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: ppapi/host/host_message_context.h
diff --git a/ppapi/host/host_message_context.h b/ppapi/host/host_message_context.h
index a8ac5267939765792427c8da252b025115d00b34..67082614157074c8fc985aa6bf4bc76b0aa9dfdc 100644
--- a/ppapi/host/host_message_context.h
+++ b/ppapi/host/host_message_context.h
@@ -15,9 +15,13 @@ namespace host {
// This context structure provides information about incoming resource message
// call requests when passed to resources.
struct PPAPI_HOST_EXPORT HostMessageContext {
- explicit HostMessageContext(const ppapi::proxy::ResourceMessageCallParams& cp)
- : params(cp) {
- }
+ explicit HostMessageContext(
+ const ppapi::proxy::ResourceMessageCallParams& cp);
+ ~HostMessageContext();
+
+ // Returns a "reply params" struct with the same resource and sequence number
+ // as this request.
+ ppapi::proxy::ResourceMessageReplyParams MakeReplyParams();
// The original call parameters passed to the resource message call.
const ppapi::proxy::ResourceMessageCallParams& params;

Powered by Google App Engine
This is Rietveld 408576698