| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 CHROME_APP_CHROME_MAIN_DELEGATE_H_ | 5 #ifndef CHROME_APP_CHROME_MAIN_DELEGATE_H_ |
| 6 #define CHROME_APP_CHROME_MAIN_DELEGATE_H_ | 6 #define CHROME_APP_CHROME_MAIN_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 bool ShouldSendMachPort(const std::string& process_type) override; | 39 bool ShouldSendMachPort(const std::string& process_type) override; |
| 40 bool DelaySandboxInitialization(const std::string& process_type) override; | 40 bool DelaySandboxInitialization(const std::string& process_type) override; |
| 41 #elif defined(OS_POSIX) && !defined(OS_ANDROID) | 41 #elif defined(OS_POSIX) && !defined(OS_ANDROID) |
| 42 void ZygoteStarting( | 42 void ZygoteStarting( |
| 43 ScopedVector<content::ZygoteForkDelegate>* delegates) override; | 43 ScopedVector<content::ZygoteForkDelegate>* delegates) override; |
| 44 void ZygoteForked() override; | 44 void ZygoteForked() override; |
| 45 #endif | 45 #endif |
| 46 bool ShouldEnableProfilerRecording() override; | 46 bool ShouldEnableProfilerRecording() override; |
| 47 | 47 |
| 48 content::ContentBrowserClient* CreateContentBrowserClient() override; | 48 content::ContentBrowserClient* CreateContentBrowserClient() override; |
| 49 content::ContentGpuClient* CreateContentGpuClient() override; |
| 49 content::ContentPluginClient* CreateContentPluginClient() override; | 50 content::ContentPluginClient* CreateContentPluginClient() override; |
| 50 content::ContentRendererClient* CreateContentRendererClient() override; | 51 content::ContentRendererClient* CreateContentRendererClient() override; |
| 51 content::ContentUtilityClient* CreateContentUtilityClient() override; | 52 content::ContentUtilityClient* CreateContentUtilityClient() override; |
| 52 | 53 |
| 53 #if defined(OS_MACOSX) | 54 #if defined(OS_MACOSX) |
| 54 void InitMacCrashReporter(const base::CommandLine& command_line, | 55 void InitMacCrashReporter(const base::CommandLine& command_line, |
| 55 const std::string& process_type); | 56 const std::string& process_type); |
| 56 #endif // defined(OS_MACOSX) | 57 #endif // defined(OS_MACOSX) |
| 57 | 58 |
| 58 ChromeContentClient chrome_content_client_; | 59 ChromeContentClient chrome_content_client_; |
| 59 | 60 |
| 60 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); | 61 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ | 64 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ |
| OLD | NEW |