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

Unified Diff: content/browser/zygote_main_linux.cc

Issue 8381029: Move ZygoteForkDelegateLinux to content/public/app. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/app/content_main.cc ('k') | content/common/zygote_fork_delegate_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/zygote_main_linux.cc
===================================================================
--- content/browser/zygote_main_linux.cc (revision 107064)
+++ content/browser/zygote_main_linux.cc (working copy)
@@ -37,9 +37,9 @@
#include "content/common/seccomp_sandbox.h"
#include "content/common/set_process_title.h"
#include "content/common/unix_domain_socket_posix.h"
-#include "content/common/zygote_fork_delegate_linux.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/result_codes.h"
+#include "content/public/common/zygote_fork_delegate_linux.h"
#include "skia/ext/SkFontHost_fontconfig_control.h"
#include "unicode/timezone.h"
#include "ipc/ipc_channel.h"
@@ -94,7 +94,7 @@
// runs it.
class Zygote {
public:
- Zygote(int sandbox_flags, ZygoteForkDelegate* helper)
+ Zygote(int sandbox_flags, content::ZygoteForkDelegate* helper)
: sandbox_flags_(sandbox_flags), helper_(helper) {
if (helper_)
helper_->InitialUMA(&initial_uma_name_,
@@ -535,7 +535,7 @@
ProcessMap real_pids_to_sandbox_pids;
const int sandbox_flags_;
- ZygoteForkDelegate* helper_;
+ content::ZygoteForkDelegate* helper_;
// These might be set by helper_->InitialUMA. They supply a UMA
// enumeration sample we should report on the first fork.
@@ -806,7 +806,7 @@
#endif // CHROMIUM_SELINUX
bool ZygoteMain(const MainFunctionParams& params,
- ZygoteForkDelegate* forkdelegate) {
+ content::ZygoteForkDelegate* forkdelegate) {
#if !defined(CHROMIUM_SELINUX)
g_am_zygote_or_renderer = true;
#endif
« no previous file with comments | « content/app/content_main.cc ('k') | content/common/zygote_fork_delegate_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698