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

Side by Side Diff: content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc

Issue 10815073: Refactoring of new IPC-only pepper implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/pepper/content_browser_pepper_host_facto ry.h" 5 #include "content/browser/renderer_host/pepper/content_browser_pepper_host_facto ry.h"
6 6
7 #include "ppapi/host/resource_host.h" 7 #include "ppapi/host/resource_host.h"
8 #include "ppapi/proxy/ppapi_messages.h" 8 #include "ppapi/proxy/ppapi_messages.h"
9 9
10 using ppapi::host::ResourceHost; 10 using ppapi::host::ResourceHost;
11 11
12 namespace content { 12 namespace content {
13 13
14 ContentBrowserPepperHostFactory::ContentBrowserPepperHostFactory( 14 ContentBrowserPepperHostFactory::ContentBrowserPepperHostFactory(
15 PepperMessageFilter* filter) 15 BrowserPpapiHostImpl* host)
16 : filter_(filter) { 16 : host_(host) {
17 } 17 }
18 18
19 ContentBrowserPepperHostFactory::~ContentBrowserPepperHostFactory() { 19 ContentBrowserPepperHostFactory::~ContentBrowserPepperHostFactory() {
20 } 20 }
21 21
22 scoped_ptr<ResourceHost> ContentBrowserPepperHostFactory::CreateResourceHost( 22 scoped_ptr<ResourceHost> ContentBrowserPepperHostFactory::CreateResourceHost(
23 ppapi::host::PpapiHost* host, 23 ppapi::host::PpapiHost* host,
24 const ppapi::proxy::ResourceMessageCallParams& params, 24 const ppapi::proxy::ResourceMessageCallParams& params,
25 PP_Instance instance, 25 PP_Instance instance,
26 const IPC::Message& message) { 26 const IPC::Message& message) {
27 // TODO(brettw) implement hosts here. 27 // TODO(brettw) implement hosts here.
28 return scoped_ptr<ResourceHost>(); 28 return scoped_ptr<ResourceHost>();
29 } 29 }
30 30
31 } // namespace content 31 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698