| 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 virtual WebRtcStopRtpDumpCallback StartRtpDump( | 251 virtual WebRtcStopRtpDumpCallback StartRtpDump( |
| 252 bool incoming, | 252 bool incoming, |
| 253 bool outgoing, | 253 bool outgoing, |
| 254 const WebRtcRtpPacketCallback& packet_callback) = 0; | 254 const WebRtcRtpPacketCallback& packet_callback) = 0; |
| 255 #endif | 255 #endif |
| 256 | 256 |
| 257 // Tells the ResourceDispatcherHost to resume a deferred navigation without | 257 // Tells the ResourceDispatcherHost to resume a deferred navigation without |
| 258 // transferring it to a new renderer process. | 258 // transferring it to a new renderer process. |
| 259 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; | 259 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; |
| 260 | 260 |
| 261 // Notifies the renderer that the timezone configuration of the system might | |
| 262 // have changed. | |
| 263 virtual void NotifyTimezoneChange(const std::string& zone_id) = 0; | |
| 264 | |
| 265 // Returns the shell::InterfaceProvider the browser process can use to bind | 261 // Returns the shell::InterfaceProvider the browser process can use to bind |
| 266 // interfaces exposed to it from the renderer. | 262 // interfaces exposed to it from the renderer. |
| 267 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; | 263 virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
| 268 | 264 |
| 269 // Extracts any persistent-memory-allocator used for renderer metrics. | 265 // Extracts any persistent-memory-allocator used for renderer metrics. |
| 270 // Ownership is passed to the caller. To support sharing of histogram data | 266 // Ownership is passed to the caller. To support sharing of histogram data |
| 271 // between the Renderer and the Browser, the allocator is created when the | 267 // between the Renderer and the Browser, the allocator is created when the |
| 272 // process is created and later retrieved by the SubprocessMetricsProvider | 268 // process is created and later retrieved by the SubprocessMetricsProvider |
| 273 // for management. | 269 // for management. |
| 274 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> | 270 virtual std::unique_ptr<base::SharedPersistentMemoryAllocator> |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 static void SetMaxRendererProcessCount(size_t count); | 360 static void SetMaxRendererProcessCount(size_t count); |
| 365 | 361 |
| 366 // Returns the current maximum number of renderer process hosts kept by the | 362 // Returns the current maximum number of renderer process hosts kept by the |
| 367 // content module. | 363 // content module. |
| 368 static size_t GetMaxRendererProcessCount(); | 364 static size_t GetMaxRendererProcessCount(); |
| 369 }; | 365 }; |
| 370 | 366 |
| 371 } // namespace content. | 367 } // namespace content. |
| 372 | 368 |
| 373 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 369 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |