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_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 void CreateMessageFilters(); | 313 void CreateMessageFilters(); |
314 | 314 |
315 // Registers Mojo services to be exposed to the renderer. | 315 // Registers Mojo services to be exposed to the renderer. |
316 void RegisterMojoServices(); | 316 void RegisterMojoServices(); |
317 | 317 |
318 // Control message handlers. | 318 // Control message handlers. |
319 void OnShutdownRequest(); | 319 void OnShutdownRequest(); |
320 void OnDumpHandlesDone(); | 320 void OnDumpHandlesDone(); |
321 void SuddenTerminationChanged(bool enabled); | 321 void SuddenTerminationChanged(bool enabled); |
322 void OnUserMetricsRecordAction(const std::string& action); | 322 void OnUserMetricsRecordAction(const std::string& action); |
| 323 void OnUserMetricsRecordRappor( |
| 324 const std::string& metric, |
| 325 const std::string& sample); |
323 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); | 326 void OnSavedPageAsMHTML(int job_id, int64 mhtml_file_size); |
324 void OnCloseACK(int old_route_id); | 327 void OnCloseACK(int old_route_id); |
325 | 328 |
326 // Generates a command line to be used to spawn a renderer and appends the | 329 // Generates a command line to be used to spawn a renderer and appends the |
327 // results to |*command_line|. | 330 // results to |*command_line|. |
328 void AppendRendererCommandLine(base::CommandLine* command_line) const; | 331 void AppendRendererCommandLine(base::CommandLine* command_line) const; |
329 | 332 |
330 // Copies applicable command line switches from the given |browser_cmd| line | 333 // Copies applicable command line switches from the given |browser_cmd| line |
331 // flags to the output |renderer_cmd| line flags. Not all switches will be | 334 // flags to the output |renderer_cmd| line flags. Not all switches will be |
332 // copied over. | 335 // copied over. |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 bool subscribe_uniform_enabled_; | 508 bool subscribe_uniform_enabled_; |
506 | 509 |
507 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 510 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
508 | 511 |
509 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 512 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
510 }; | 513 }; |
511 | 514 |
512 } // namespace content | 515 } // namespace content |
513 | 516 |
514 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 517 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |