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 void RecomputeAndUpdateWebKitPreferences(); |
| 267 |
266 protected: | 268 protected: |
267 // A proxy for our IPC::Channel that lives on the IO thread. | 269 // A proxy for our IPC::Channel that lives on the IO thread. |
268 scoped_ptr<IPC::ChannelProxy> channel_; | 270 scoped_ptr<IPC::ChannelProxy> channel_; |
269 | 271 |
270 // True if fast shutdown has been performed on this RPH. | 272 // True if fast shutdown has been performed on this RPH. |
271 bool fast_shutdown_started_; | 273 bool fast_shutdown_started_; |
272 | 274 |
273 // True if we've posted a DeleteTask and will be deleted soon. | 275 // True if we've posted a DeleteTask and will be deleted soon. |
274 bool deleting_soon_; | 276 bool deleting_soon_; |
275 | 277 |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 #endif | 509 #endif |
508 | 510 |
509 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 511 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
510 | 512 |
511 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 513 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
512 }; | 514 }; |
513 | 515 |
514 } // namespace content | 516 } // namespace content |
515 | 517 |
516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ | 518 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |