OLD | NEW |
(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 |
OLD | NEW |