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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 void set_is_isolated_guest_for_testing(bool is_isolated_guest) { | 260 void set_is_isolated_guest_for_testing(bool is_isolated_guest) { |
261 is_isolated_guest_ = is_isolated_guest; | 261 is_isolated_guest_ = is_isolated_guest; |
262 } | 262 } |
263 | 263 |
264 // Called when the existence of the other renderer process which is connected | 264 // Called when the existence of the other renderer process which is connected |
265 // to the Worker in this renderer process has changed. | 265 // to the Worker in this renderer process has changed. |
266 // It is only called when "enable-embedded-shared-worker" flag is set. | 266 // It is only called when "enable-embedded-shared-worker" flag is set. |
267 void IncrementWorkerRefCount(); | 267 void IncrementWorkerRefCount(); |
268 void DecrementWorkerRefCount(); | 268 void DecrementWorkerRefCount(); |
269 | 269 |
270 // Call this function to resume the navigation when it was deferred | |
271 // immediately after receiving response headers. | |
272 void ResumeResponseDeferredAtStart(const GlobalRequestID& request_id); | |
273 | |
274 void GetAudioOutputControllers( | 270 void GetAudioOutputControllers( |
275 const GetAudioOutputControllersCallback& callback) const override; | 271 const GetAudioOutputControllersCallback& callback) const override; |
276 | 272 |
277 protected: | 273 protected: |
278 // A proxy for our IPC::Channel that lives on the IO thread (see | 274 // A proxy for our IPC::Channel that lives on the IO thread (see |
279 // browser_process.h) | 275 // browser_process.h) |
280 scoped_ptr<IPC::ChannelProxy> channel_; | 276 scoped_ptr<IPC::ChannelProxy> channel_; |
281 | 277 |
282 // A host object ChannelMojo needs. The lifetime is bound to | 278 // A host object ChannelMojo needs. The lifetime is bound to |
283 // the RenderProcessHostImpl, not the channel. | 279 // the RenderProcessHostImpl, not the channel. |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 bool subscribe_uniform_enabled_; | 497 bool subscribe_uniform_enabled_; |
502 | 498 |
503 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 499 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
504 | 500 |
505 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 501 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
506 }; | 502 }; |
507 | 503 |
508 } // namespace content | 504 } // namespace content |
509 | 505 |
510 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |