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 "chrome/renderer/pepper/chrome_renderer_pepper_host_factory.h" |
| 6 |
| 7 #include "ppapi/host/resource_host.h" |
| 8 #include "ppapi/proxy/ppapi_messages.h" |
| 9 |
| 10 using ppapi::host::ResourceHost; |
| 11 |
| 12 namespace chrome { |
| 13 |
| 14 ChromeRendererPepperHostFactory::ChromeRendererPepperHostFactory() { |
| 15 } |
| 16 |
| 17 ChromeRendererPepperHostFactory::~ChromeRendererPepperHostFactory() { |
| 18 } |
| 19 |
| 20 scoped_ptr<ResourceHost> |
| 21 ChromeRendererPepperHostFactory::CreateResourceHost( |
| 22 ppapi::host::PpapiHost* host, |
| 23 const ppapi::proxy::ResourceMessageCallParams& params, |
| 24 PP_Instance instance, |
| 25 const IPC::Message& message) { |
| 26 // There are no Chrome-side implementations of resources. |
| 27 return scoped_ptr<ResourceHost>(); |
| 28 } |
| 29 |
| 30 } // namespace chrome |
OLD | NEW |