Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 1532423003: Have each SandboxedProcessLauncherDelegate maintain a zygote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Load and initialize all zygotes on browser startup. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
266 protected: 271 protected:
267 // A proxy for our IPC::Channel that lives on the IO thread. 272 // A proxy for our IPC::Channel that lives on the IO thread.
268 scoped_ptr<IPC::ChannelProxy> channel_; 273 scoped_ptr<IPC::ChannelProxy> channel_;
269 274
270 // True if fast shutdown has been performed on this RPH. 275 // True if fast shutdown has been performed on this RPH.
271 bool fast_shutdown_started_; 276 bool fast_shutdown_started_;
272 277
273 // 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.
274 bool deleting_soon_; 279 bool deleting_soon_;
275 280
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 #endif 512 #endif
508 513
509 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 514 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
510 515
511 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 516 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
512 }; 517 };
513 518
514 } // namespace content 519 } // namespace content
515 520
516 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 521 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698