Index: content/shell/shell_main_delegate.cc |
diff --git a/content/shell/shell_main_delegate.cc b/content/shell/shell_main_delegate.cc |
index 13dd6da474c585c09efbe7b0c6f388e756fa7286..d77eaf5b4c8e483d7619976c8d24d67b86bdbd6a 100644 |
--- a/content/shell/shell_main_delegate.cc |
+++ b/content/shell/shell_main_delegate.cc |
@@ -17,6 +17,10 @@ ShellMainDelegate::ShellMainDelegate() { |
ShellMainDelegate::~ShellMainDelegate() { |
} |
+bool ShellMainDelegate::BasicStartupComplete(int* exit_code) { |
+ return false; |
+} |
+ |
void ShellMainDelegate::PreSandboxStartup() { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
std::string process_type = |
@@ -26,14 +30,46 @@ void ShellMainDelegate::PreSandboxStartup() { |
InitializeShellContentClient(process_type); |
} |
-#if defined(OS_POSIX) && !defined(OS_MACOSX) |
+void ShellMainDelegate::SandboxInitialized(const std::string& process_type) { |
+} |
+ |
+int ShellMainDelegate::RunProcess( |
+ const std::string& process_type, |
+ const MainFunctionParams& main_function_params) { |
+ NOTREACHED(); |
+ return -1; |
+} |
+ |
+void ShellMainDelegate::ProcessExiting(const std::string& process_type) { |
+} |
+ |
+#if defined(OS_MACOSX) |
+bool ShellMainDelegate::ProcessRegistersWithSystemProcess( |
+ const std::string& process_type) { |
+ return false; |
+} |
+ |
+bool ShellMainDelegate::ShouldSendMachPort(const std::string& process_type) { |
+ return false; |
+} |
+ |
+bool ShellMainDelegate::DelaySandboxInitialization( |
+ const std::string& process_type) { |
+ return false; |
+} |
+ |
+#elif defined(OS_POSIX) |
+ZygoteForkDelegate* ShellMainDelegate::ZygoteStarting() { |
+ return NULL; |
+} |
+ |
void ShellMainDelegate::ZygoteForked() { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
std::string process_type = |
command_line.GetSwitchValueASCII(switches::kProcessType); |
InitializeShellContentClient(process_type); |
} |
-#endif |
+#endif // OS_MACOSX |
void ShellMainDelegate::InitializeShellContentClient( |
const std::string& process_type) { |