| 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 |
| 268 protected: | 270 protected: |
| 269 // A proxy for our IPC::Channel that lives on the IO thread (see | 271 // A proxy for our IPC::Channel that lives on the IO thread (see |
| 270 // browser_process.h) | 272 // browser_process.h) |
| 271 scoped_ptr<IPC::ChannelProxy> channel_; | 273 scoped_ptr<IPC::ChannelProxy> channel_; |
| 272 | 274 |
| 273 // True if fast shutdown has been performed on this RPH. | 275 // True if fast shutdown has been performed on this RPH. |
| 274 bool fast_shutdown_started_; | 276 bool fast_shutdown_started_; |
| 275 | 277 |
| 276 // True if we've posted a DeleteTask and will be deleted soon. | 278 // True if we've posted a DeleteTask and will be deleted soon. |
| 277 bool deleting_soon_; | 279 bool deleting_soon_; |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 #endif | 497 #endif |
| 496 | 498 |
| 497 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 499 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 498 | 500 |
| 499 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 501 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 500 }; | 502 }; |
| 501 | 503 |
| 502 } // namespace content | 504 } // namespace content |
| 503 | 505 |
| 504 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 506 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |