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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 // available for extraction by a SubprocesMetricsProvider in order to | 341 // available for extraction by a SubprocesMetricsProvider in order to |
342 // report those histograms to UMA. | 342 // report those histograms to UMA. |
343 void CreateSharedRendererHistogramAllocator(); | 343 void CreateSharedRendererHistogramAllocator(); |
344 | 344 |
345 // Handle termination of our process. | 345 // Handle termination of our process. |
346 void ProcessDied(bool already_dead, RendererClosedDetails* known_details); | 346 void ProcessDied(bool already_dead, RendererClosedDetails* known_details); |
347 | 347 |
348 // GpuSwitchingObserver implementation. | 348 // GpuSwitchingObserver implementation. |
349 void OnGpuSwitched() override; | 349 void OnGpuSwitched() override; |
350 | 350 |
| 351 void Suspend() override; |
| 352 |
351 #if defined(ENABLE_WEBRTC) | 353 #if defined(ENABLE_WEBRTC) |
352 void OnRegisterAecDumpConsumer(int id); | 354 void OnRegisterAecDumpConsumer(int id); |
353 void OnRegisterEventLogConsumer(int id); | 355 void OnRegisterEventLogConsumer(int id); |
354 void OnUnregisterAecDumpConsumer(int id); | 356 void OnUnregisterAecDumpConsumer(int id); |
355 void OnUnregisterEventLogConsumer(int id); | 357 void OnUnregisterEventLogConsumer(int id); |
356 void RegisterAecDumpConsumerOnUIThread(int id); | 358 void RegisterAecDumpConsumerOnUIThread(int id); |
357 void RegisterEventLogConsumerOnUIThread(int id); | 359 void RegisterEventLogConsumerOnUIThread(int id); |
358 void UnregisterAecDumpConsumerOnUIThread(int id); | 360 void UnregisterAecDumpConsumerOnUIThread(int id); |
359 void UnregisterEventLogConsumerOnUIThread(int id); | 361 void UnregisterEventLogConsumerOnUIThread(int id); |
360 void EnableAecDumpForId(const base::FilePath& file, int id); | 362 void EnableAecDumpForId(const base::FilePath& file, int id); |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; | 538 mojo::ScopedMessagePipeHandle in_process_renderer_handle_; |
537 | 539 |
538 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 540 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
539 | 541 |
540 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 542 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
541 }; | 543 }; |
542 | 544 |
543 } // namespace content | 545 } // namespace content |
544 | 546 |
545 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 547 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |