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

Side by Side Diff: ppapi/host/resource_host.cc

Issue 10572040: Create a PPAPI host for new resource message routing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/host/resource_host.h ('k') | ppapi/ppapi_host.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ppapi/host/resource_host.h"
6
7 #include "ppapi/c/pp_errors.h"
8
9 namespace ppapi {
10 namespace host {
11
12 ResourceHost::ResourceHost(PpapiHost* host,
13 PP_Instance instance,
14 PP_Resource resource)
15 : host_(host),
16 pp_instance_(instance),
17 pp_resource_(resource) {
18 }
19
20 ResourceHost::~ResourceHost() {
21 }
22
23 int32_t ResourceHost::OnResourceMessageReceived(const IPC::Message& msg,
24 HostMessageContext* context) {
25 return PP_ERROR_NOTSUPPORTED;
26 }
27
28 } // namespace host
29 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/host/resource_host.h ('k') | ppapi/ppapi_host.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698