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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 256 |
257 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { | 257 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { |
258 is_for_guests_only_ = is_for_guests_only; | 258 is_for_guests_only_ = is_for_guests_only; |
259 } | 259 } |
260 | 260 |
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) | |
267 // Launch the zygote early in the browser startup. | |
268 static void EarlyZygoteLaunch(); | |
269 #endif // defined(OS_POSIX) && !defined(OS_ANDROID) && !defined(OS_MACOSX) | |
270 | |
271 protected: | 266 protected: |
272 // A proxy for our IPC::Channel that lives on the IO thread. | 267 // A proxy for our IPC::Channel that lives on the IO thread. |
273 scoped_ptr<IPC::ChannelProxy> channel_; | 268 scoped_ptr<IPC::ChannelProxy> channel_; |
274 | 269 |
275 // True if fast shutdown has been performed on this RPH. | 270 // True if fast shutdown has been performed on this RPH. |
276 bool fast_shutdown_started_; | 271 bool fast_shutdown_started_; |
277 | 272 |
278 // True if we've posted a DeleteTask and will be deleted soon. | 273 // True if we've posted a DeleteTask and will be deleted soon. |
279 bool deleting_soon_; | 274 bool deleting_soon_; |
280 | 275 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 #endif | 507 #endif |
513 | 508 |
514 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 509 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
515 | 510 |
516 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 511 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
517 }; | 512 }; |
518 | 513 |
519 } // namespace content | 514 } // namespace content |
520 | 515 |
521 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |