| 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_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <queue> | 9 #include <queue> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 private: | 269 private: |
| 270 friend class VisitRelayingRenderProcessHost; | 270 friend class VisitRelayingRenderProcessHost; |
| 271 | 271 |
| 272 bool ShouldUseMojoChannel() const; | 272 bool ShouldUseMojoChannel() const; |
| 273 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( | 273 scoped_ptr<IPC::ChannelProxy> CreateChannelProxy( |
| 274 const std::string& channel_id); | 274 const std::string& channel_id); |
| 275 | 275 |
| 276 // Creates and adds the IO thread message filters. | 276 // Creates and adds the IO thread message filters. |
| 277 void CreateMessageFilters(); | 277 void CreateMessageFilters(); |
| 278 | 278 |
| 279 // Registers Mojo services to be exposed to the renderer. |
| 280 void RegisterMojoServices(); |
| 281 |
| 279 // Control message handlers. | 282 // Control message handlers. |
| 280 void OnShutdownRequest(); | 283 void OnShutdownRequest(); |
| 281 void OnDumpHandlesDone(); | 284 void OnDumpHandlesDone(); |
| 282 void SuddenTerminationChanged(bool enabled); | 285 void SuddenTerminationChanged(bool enabled); |
| 283 void OnUserMetricsRecordAction(const std::string& action); | 286 void OnUserMetricsRecordAction(const std::string& action); |
| 284 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); | 287 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); |
| 285 void OnCloseACK(int old_route_id); | 288 void OnCloseACK(int old_route_id); |
| 286 | 289 |
| 287 // Generates a command line to be used to spawn a renderer and appends the | 290 // Generates a command line to be used to spawn a renderer and appends the |
| 288 // results to |*command_line|. | 291 // results to |*command_line|. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 base::TimeTicks survive_for_worker_start_time_; | 435 base::TimeTicks survive_for_worker_start_time_; |
| 433 | 436 |
| 434 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 437 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 435 | 438 |
| 436 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 439 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 437 }; | 440 }; |
| 438 | 441 |
| 439 } // namespace content | 442 } // namespace content |
| 440 | 443 |
| 441 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 444 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |