OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/app/content_main_delegate.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace content { |
| 10 |
| 11 ContentMainDelegate::~ContentMainDelegate() { |
| 12 } |
| 13 |
| 14 bool ContentMainDelegate::BasicStartupComplete(int* exit_code) { |
| 15 return false; |
| 16 } |
| 17 |
| 18 void ContentMainDelegate::PreSandboxStartup() { |
| 19 } |
| 20 |
| 21 void ContentMainDelegate::SandboxInitialized(const std::string& process_type) { |
| 22 } |
| 23 |
| 24 int ContentMainDelegate::RunProcess(const std::string& process_type, |
| 25 const MainFunctionParams& main_function_params) { |
| 26 NOTREACHED(); |
| 27 return -1; |
| 28 } |
| 29 |
| 30 void ContentMainDelegate::ProcessExiting(const std::string& process_type) { |
| 31 } |
| 32 |
| 33 #if defined(OS_MACOSX) |
| 34 bool ContentMainDelegate::ProcessRegistersWithSystemProcess( |
| 35 const std::string& process_type) { |
| 36 return false; |
| 37 } |
| 38 |
| 39 bool ContentMainDelegate::ShouldSendMachPort(const std::string& process_type) { |
| 40 return false; |
| 41 } |
| 42 |
| 43 bool ContentMainDelegate::DelaySandboxInitialization( |
| 44 const std::string& process_type) { |
| 45 return false; |
| 46 } |
| 47 #elif defined(OS_POSIX) |
| 48 ZygoteForkDelegate* ContentMainDelegate::ZygoteStarting() { |
| 49 return NULL; |
| 50 } |
| 51 |
| 52 void ContentMainDelegate::ZygoteForked() { |
| 53 } |
| 54 #endif // OS_MACOSX |
| 55 |
| 56 } // namespace content |
OLD | NEW |