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

Side by Side Diff: trunk/src/content/browser/renderer_host/pepper/pepper_renderer_connection.h

Issue 23647008: Revert 221284 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // PepperRendererConnection, which serves as the host for in-process plugins. 47 // PepperRendererConnection, which serves as the host for in-process plugins.
48 BrowserPpapiHostImpl* GetHostForChildProcess(int child_process_id) const; 48 BrowserPpapiHostImpl* GetHostForChildProcess(int child_process_id) const;
49 49
50 void OnMsgCreateResourceHostsFromHost( 50 void OnMsgCreateResourceHostsFromHost(
51 int routing_id, 51 int routing_id,
52 int child_process_id, 52 int child_process_id,
53 const ppapi::proxy::ResourceMessageCallParams& params, 53 const ppapi::proxy::ResourceMessageCallParams& params,
54 PP_Instance instance, 54 PP_Instance instance,
55 const std::vector<IPC::Message>& nested_msgs); 55 const std::vector<IPC::Message>& nested_msgs);
56 56
57 void OnMsgFileRefGetInfoForRenderer(
58 int routing_id,
59 int child_process_id,
60 int32_t sequence_num,
61 const std::vector<PP_Resource>& resources);
62
57 void OnMsgDidCreateInProcessInstance( 63 void OnMsgDidCreateInProcessInstance(
58 PP_Instance instance, 64 PP_Instance instance,
59 const PepperRendererInstanceData& instance_data); 65 const PepperRendererInstanceData& instance_data);
60 void OnMsgDidDeleteInProcessInstance(PP_Instance instance); 66 void OnMsgDidDeleteInProcessInstance(PP_Instance instance);
61 67
62 int render_process_id_; 68 int render_process_id_;
63 69
64 // We have a single BrowserPpapiHost per-renderer for all in-process plugins 70 // We have a single BrowserPpapiHost per-renderer for all in-process plugins
65 // running. This is just a work-around allowing new style resources to work 71 // running. This is just a work-around allowing new style resources to work
66 // with the browser when running in-process but it means that plugin-specific 72 // with the browser when running in-process but it means that plugin-specific
67 // information (like the plugin name) won't be available. 73 // information (like the plugin name) won't be available.
68 scoped_ptr<BrowserPpapiHostImpl> in_process_host_; 74 scoped_ptr<BrowserPpapiHostImpl> in_process_host_;
69 75
70 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection); 76 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection);
71 }; 77 };
72 78
73 } // namespace content 79 } // namespace content
74 80
75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ 81 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698