| 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_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 namespace base { | 25 namespace base { |
| 26 class SharedPersistentMemoryAllocator; | 26 class SharedPersistentMemoryAllocator; |
| 27 class TimeDelta; | 27 class TimeDelta; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace media { | 30 namespace media { |
| 31 class AudioOutputController; | 31 class AudioOutputController; |
| 32 class MediaKeys; | 32 class MediaKeys; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace shell { | 35 namespace service_manager { |
| 36 class Connection; | 36 class Connection; |
| 37 class InterfaceProvider; | 37 class InterfaceProvider; |
| 38 } | 38 } |
| 39 | 39 |
| 40 namespace content { | 40 namespace content { |
| 41 class BrowserContext; | 41 class BrowserContext; |
| 42 class BrowserMessageFilter; | 42 class BrowserMessageFilter; |
| 43 class RenderProcessHostObserver; | 43 class RenderProcessHostObserver; |
| 44 class RenderWidgetHost; | 44 class RenderWidgetHost; |
| 45 class StoragePartition; | 45 class StoragePartition; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 virtual WebRtcStopRtpDumpCallback StartRtpDump( | 256 virtual WebRtcStopRtpDumpCallback StartRtpDump( |
| 257 bool incoming, | 257 bool incoming, |
| 258 bool outgoing, | 258 bool outgoing, |
| 259 const WebRtcRtpPacketCallback& packet_callback) = 0; | 259 const WebRtcRtpPacketCallback& packet_callback) = 0; |
| 260 #endif | 260 #endif |
| 261 | 261 |
| 262 // Tells the ResourceDispatcherHost to resume a deferred navigation without | 262 // Tells the ResourceDispatcherHost to resume a deferred navigation without |
| 263 // transferring it to a new renderer process. | 263 // transferring it to a new renderer process. |
| 264 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; | 264 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; |
| 265 | 265 |
| 266 // Returns the shell::InterfaceProvider the browser process can use to bind | 266 // Returns the service_manager::InterfaceProvider the browser process can use |
| 267 // to bind |
| 267 // interfaces exposed to it from the renderer. | 268 // interfaces exposed to it from the renderer. |
| 268 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; | 269 virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0; |
| 269 | 270 |
| 270 // Extracts any persistent-memory-allocator used for renderer metrics. | 271 // Extracts any persistent-memory-allocator used for renderer metrics. |
| 271 // Ownership is passed to the caller. To support sharing of histogram data | 272 // Ownership is passed to the caller. To support sharing of histogram data |
| 272 // between the Renderer and the Browser, the allocator is created when the | 273 // between the Renderer and the Browser, the allocator is created when the |
| 273 // process is created and later retrieved by the SubprocessMetricsProvider | 274 // process is created and later retrieved by the SubprocessMetricsProvider |
| 274 // for management. | 275 // for management. |
| 275 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> | 276 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> |
| 276 TakeMetricsAllocator() = 0; | 277 TakeMetricsAllocator() = 0; |
| 277 | 278 |
| 278 // PlzNavigate | 279 // PlzNavigate |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 static void SetMaxRendererProcessCount(size_t count); | 371 static void SetMaxRendererProcessCount(size_t count); |
| 371 | 372 |
| 372 // Returns the current maximum number of renderer process hosts kept by the | 373 // Returns the current maximum number of renderer process hosts kept by the |
| 373 // content module. | 374 // content module. |
| 374 static size_t GetMaxRendererProcessCount(); | 375 static size_t GetMaxRendererProcessCount(); |
| 375 }; | 376 }; |
| 376 | 377 |
| 377 } // namespace content. | 378 } // namespace content. |
| 378 | 379 |
| 379 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 380 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |