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

Unified Diff: ppapi/host/host_message_context.cc

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
« no previous file with comments | « ppapi/host/host_message_context.h ('k') | ppapi/host/ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/host/host_message_context.cc
diff --git a/ppapi/host/host_message_context.cc b/ppapi/host/host_message_context.cc
new file mode 100644
index 0000000000000000000000000000000000000000..5c1c0d1bd9b02bdae80dcd9d34180b2c65faad26
--- /dev/null
+++ b/ppapi/host/host_message_context.cc
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ppapi/host/host_message_context.h"
+
+namespace ppapi {
+namespace host {
+
+HostMessageContext::HostMessageContext(
+ const ppapi::proxy::ResourceMessageCallParams& cp)
+ : params(cp) {
+}
+
+HostMessageContext::~HostMessageContext() {
+}
+
+ppapi::proxy::ResourceMessageReplyParams HostMessageContext::MakeReplyParams() {
+ return ppapi::proxy::ResourceMessageReplyParams(params.pp_resource(),
+ params.sequence());
+}
+
+} // namespace host
+} // namespace ppapi
« no previous file with comments | « ppapi/host/host_message_context.h ('k') | ppapi/host/ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698