| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 void GetAudioOutputControllers( | 261 void GetAudioOutputControllers( |
| 262 const GetAudioOutputControllersCallback& callback) const override; | 262 const GetAudioOutputControllersCallback& callback) const override; |
| 263 | 263 |
| 264 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); | 264 BluetoothDispatcherHost* GetBluetoothDispatcherHost(); |
| 265 | 265 |
| 266 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) | 266 #if defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| 267 // Launch the zygote early in the browser startup. | 267 // Launch the zygote early in the browser startup. |
| 268 static void EarlyZygoteLaunch(); | 268 static void EarlyZygoteLaunch(); |
| 269 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) | 269 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) |
| 270 | 270 |
| 271 void RecomputeAndUpdateWebKitPreferences(); |
| 272 |
| 271 protected: | 273 protected: |
| 272 // A proxy for our IPC::Channel that lives on the IO thread. | 274 // A proxy for our IPC::Channel that lives on the IO thread. |
| 273 scoped_ptr<IPC::ChannelProxy> channel_; | 275 scoped_ptr<IPC::ChannelProxy> channel_; |
| 274 | 276 |
| 275 // True if fast shutdown has been performed on this RPH. | 277 // True if fast shutdown has been performed on this RPH. |
| 276 bool fast_shutdown_started_; | 278 bool fast_shutdown_started_; |
| 277 | 279 |
| 278 // True if we've posted a DeleteTask and will be deleted soon. | 280 // True if we've posted a DeleteTask and will be deleted soon. |
| 279 bool deleting_soon_; | 281 bool deleting_soon_; |
| 280 | 282 |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 #endif | 514 #endif |
| 513 | 515 |
| 514 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 516 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
| 515 | 517 |
| 516 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 518 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 517 }; | 519 }; |
| 518 | 520 |
| 519 } // namespace content | 521 } // namespace content |
| 520 | 522 |
| 521 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 523 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |