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::ContentRendererClient* CreateContentRendererClient() override; | 50 content::ContentRendererClient* CreateContentRendererClient() override; |
50 content::ContentUtilityClient* CreateContentUtilityClient() override; | 51 content::ContentUtilityClient* CreateContentUtilityClient() override; |
51 | 52 |
52 #if defined(OS_MACOSX) | 53 #if defined(OS_MACOSX) |
53 void InitMacCrashReporter(const base::CommandLine& command_line, | 54 void InitMacCrashReporter(const base::CommandLine& command_line, |
54 const std::string& process_type); | 55 const std::string& process_type); |
55 #endif // defined(OS_MACOSX) | 56 #endif // defined(OS_MACOSX) |
56 | 57 |
57 ChromeContentClient chrome_content_client_; | 58 ChromeContentClient chrome_content_client_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); | 60 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegate); |
60 }; | 61 }; |
61 | 62 |
62 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ | 63 #endif // CHROME_APP_CHROME_MAIN_DELEGATE_H_ |
OLD | NEW |