| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 // to the Worker in this renderer process has changed. | 258 // to the Worker in this renderer process has changed. |
| 259 // It is only called when "enable-embedded-shared-worker" flag is set. | 259 // It is only called when "enable-embedded-shared-worker" flag is set. |
| 260 void IncrementWorkerRefCount(); | 260 void IncrementWorkerRefCount(); |
| 261 void DecrementWorkerRefCount(); | 261 void DecrementWorkerRefCount(); |
| 262 | 262 |
| 263 void GetAudioOutputControllers( | 263 void GetAudioOutputControllers( |
| 264 const GetAudioOutputControllersCallback& callback) const override; | 264 const GetAudioOutputControllersCallback& callback) const override; |
| 265 | 265 |
| 266 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); | 266 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); |
| 267 | 267 |
| 268 bool backgrounded() const { return backgrounded_; }; | |
| 269 | |
| 270 protected: | 268 protected: |
| 271 // A proxy for our IPC::Channel that lives on the IO thread (see | 269 // A proxy for our IPC::Channel that lives on the IO thread (see |
| 272 // browser_process.h) | 270 // browser_process.h) |
| 273 scoped_ptr<IPC::ChannelProxy> channel_; | 271 scoped_ptr<IPC::ChannelProxy> channel_; |
| 274 | 272 |
| 275 // True if fast shutdown has been performed on this RPH. | 273 // True if fast shutdown has been performed on this RPH. |
| 276 bool fast_shutdown_started_; | 274 bool fast_shutdown_started_; |
| 277 | 275 |
| 278 // True if we've posted a DeleteTask and will be deleted soon. | 276 // True if we've posted a DeleteTask and will be deleted soon. |
| 279 bool deleting_soon_; | 277 bool deleting_soon_; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 #endif | 495 #endif |
| 498 | 496 |
| 499 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 497 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 500 | 498 |
| 501 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 499 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 502 }; | 500 }; |
| 503 | 501 |
| 504 } // namespace content | 502 } // namespace content |
| 505 | 503 |
| 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 504 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |