| 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 <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 bool outgoing, | 234 bool outgoing, |
| 235 const WebRtcRtpPacketCallback& packet_callback) = 0; | 235 const WebRtcRtpPacketCallback& packet_callback) = 0; |
| 236 #endif | 236 #endif |
| 237 | 237 |
| 238 // Tells the ResourceDispatcherHost to resume a deferred navigation without | 238 // Tells the ResourceDispatcherHost to resume a deferred navigation without |
| 239 // transferring it to a new renderer process. | 239 // transferring it to a new renderer process. |
| 240 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; | 240 virtual void ResumeDeferredNavigation(const GlobalRequestID& request_id) = 0; |
| 241 | 241 |
| 242 // Notifies the renderer that the timezone configuration of the system might | 242 // Notifies the renderer that the timezone configuration of the system might |
| 243 // have changed. | 243 // have changed. |
| 244 virtual void NotifyTimezoneChange() = 0; | 244 virtual void NotifyTimezoneChange(const std::string& zone_id) = 0; |
| 245 | 245 |
| 246 // Returns the ServiceRegistry for this process. | 246 // Returns the ServiceRegistry for this process. |
| 247 virtual ServiceRegistry* GetServiceRegistry() = 0; | 247 virtual ServiceRegistry* GetServiceRegistry() = 0; |
| 248 | 248 |
| 249 // PlzNavigate | 249 // PlzNavigate |
| 250 // Returns the time the first call to Init completed successfully (after a new | 250 // Returns the time the first call to Init completed successfully (after a new |
| 251 // renderer process was created); further calls to Init won't change this | 251 // renderer process was created); further calls to Init won't change this |
| 252 // value. | 252 // value. |
| 253 // Note: Do not use! Will disappear after PlzNavitate is completed. | 253 // Note: Do not use! Will disappear after PlzNavitate is completed. |
| 254 virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0; | 254 virtual const base::TimeTicks& GetInitTimeForNavigationMetrics() const = 0; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 static void SetMaxRendererProcessCount(size_t count); | 337 static void SetMaxRendererProcessCount(size_t count); |
| 338 | 338 |
| 339 // Returns the current maximum number of renderer process hosts kept by the | 339 // Returns the current maximum number of renderer process hosts kept by the |
| 340 // content module. | 340 // content module. |
| 341 static size_t GetMaxRendererProcessCount(); | 341 static size_t GetMaxRendererProcessCount(); |
| 342 }; | 342 }; |
| 343 | 343 |
| 344 } // namespace content. | 344 } // namespace content. |
| 345 | 345 |
| 346 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ | 346 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |