| OLD | NEW |
| 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 BrowserPpapiHostImpl* browser_ppapi_host_impl_; | 131 BrowserPpapiHostImpl* browser_ppapi_host_impl_; |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 struct InstanceData { | 134 struct InstanceData { |
| 135 InstanceData(const PepperRendererInstanceData& renderer_data); | 135 InstanceData(const PepperRendererInstanceData& renderer_data); |
| 136 ~InstanceData(); | 136 ~InstanceData(); |
| 137 | 137 |
| 138 PepperRendererInstanceData renderer_data; | 138 PepperRendererInstanceData renderer_data; |
| 139 bool is_throttled; | 139 bool is_throttled; |
| 140 | 140 |
| 141 ObserverList<InstanceObserver> observer_list; | 141 base::ObserverList<InstanceObserver> observer_list; |
| 142 }; | 142 }; |
| 143 | 143 |
| 144 // Reports plugin activity to the callback set with SetOnKeepaliveCallback. | 144 // Reports plugin activity to the callback set with SetOnKeepaliveCallback. |
| 145 void OnKeepalive(); | 145 void OnKeepalive(); |
| 146 | 146 |
| 147 scoped_ptr<ppapi::host::PpapiHost> ppapi_host_; | 147 scoped_ptr<ppapi::host::PpapiHost> ppapi_host_; |
| 148 base::Process plugin_process_; | 148 base::Process plugin_process_; |
| 149 std::string plugin_name_; | 149 std::string plugin_name_; |
| 150 base::FilePath plugin_path_; | 150 base::FilePath plugin_path_; |
| 151 base::FilePath profile_data_directory_; | 151 base::FilePath profile_data_directory_; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 165 scoped_refptr<HostMessageFilter> message_filter_; | 165 scoped_refptr<HostMessageFilter> message_filter_; |
| 166 | 166 |
| 167 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; | 167 BrowserPpapiHost::OnKeepaliveCallback on_keepalive_callback_; |
| 168 | 168 |
| 169 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); | 169 DISALLOW_COPY_AND_ASSIGN(BrowserPpapiHostImpl); |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace content | 172 } // namespace content |
| 173 | 173 |
| 174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ | 174 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_BROWSER_PPAPI_HOST_IMPL_H_ |
| OLD | NEW |