OLD | NEW |
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 PP_Instance instance, | 58 PP_Instance instance, |
59 const PepperRendererInstanceData& instance_data); | 59 const PepperRendererInstanceData& instance_data); |
60 void OnMsgDidDeleteInProcessInstance(PP_Instance instance); | 60 void OnMsgDidDeleteInProcessInstance(PP_Instance instance); |
61 | 61 |
62 int render_process_id_; | 62 int render_process_id_; |
63 | 63 |
64 // We have a single BrowserPpapiHost per-renderer for all in-process plugins | 64 // 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 | 65 // 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 | 66 // with the browser when running in-process but it means that plugin-specific |
67 // information (like the plugin name) won't be available. | 67 // information (like the plugin name) won't be available. |
68 scoped_ptr<BrowserPpapiHostImpl> in_process_host_; | 68 scoped_refptr<BrowserPpapiHostImpl> in_process_host_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection); | 70 DISALLOW_COPY_AND_ASSIGN(PepperRendererConnection); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace content | 73 } // namespace content |
74 | 74 |
75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ | 75 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_RENDERER_CONNECTION_H_ |
OLD | NEW |