| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/app/chrome_main_delegate.h" | 5 #include "chrome/app/chrome_main_delegate.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/base_paths.h" | 10 #include "base/base_paths.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 #include "pdf/pdf.h" | 143 #include "pdf/pdf.h" |
| 144 #endif | 144 #endif |
| 145 | 145 |
| 146 #if !defined(CHROME_MULTIPLE_DLL_CHILD) | 146 #if !defined(CHROME_MULTIPLE_DLL_CHILD) |
| 147 #include "components/startup_metric_utils/browser/startup_metric_utils.h" | 147 #include "components/startup_metric_utils/browser/startup_metric_utils.h" |
| 148 #endif | 148 #endif |
| 149 | 149 |
| 150 #if !defined(CHROME_MULTIPLE_DLL_BROWSER) | 150 #if !defined(CHROME_MULTIPLE_DLL_BROWSER) |
| 151 #include "chrome/child/pdf_child_init.h" | 151 #include "chrome/child/pdf_child_init.h" |
| 152 | 152 |
| 153 base::LazyInstance<ChromeContentGpuClient> g_chrome_content_gpu_client = | 153 base::LazyInstance<ChromeContentGpuClient>::DestructorAtExit |
| 154 LAZY_INSTANCE_INITIALIZER; | 154 g_chrome_content_gpu_client = LAZY_INSTANCE_INITIALIZER; |
| 155 base::LazyInstance<ChromeContentRendererClient> | 155 base::LazyInstance<ChromeContentRendererClient>::DestructorAtExit |
| 156 g_chrome_content_renderer_client = LAZY_INSTANCE_INITIALIZER; | 156 g_chrome_content_renderer_client = LAZY_INSTANCE_INITIALIZER; |
| 157 base::LazyInstance<ChromeContentUtilityClient> | 157 base::LazyInstance<ChromeContentUtilityClient>::DestructorAtExit |
| 158 g_chrome_content_utility_client = LAZY_INSTANCE_INITIALIZER; | 158 g_chrome_content_utility_client = LAZY_INSTANCE_INITIALIZER; |
| 159 #endif | 159 #endif |
| 160 | 160 |
| 161 #if !defined(CHROME_MULTIPLE_DLL_CHILD) | 161 #if !defined(CHROME_MULTIPLE_DLL_CHILD) |
| 162 base::LazyInstance<ChromeContentBrowserClient> g_chrome_content_browser_client = | 162 base::LazyInstance<ChromeContentBrowserClient>::DestructorAtExit |
| 163 LAZY_INSTANCE_INITIALIZER; | 163 g_chrome_content_browser_client = LAZY_INSTANCE_INITIALIZER; |
| 164 #endif | 164 #endif |
| 165 | 165 |
| 166 #if defined(OS_POSIX) | 166 #if defined(OS_POSIX) |
| 167 base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client = | 167 base::LazyInstance<ChromeCrashReporterClient>::Leaky g_chrome_crash_client = |
| 168 LAZY_INSTANCE_INITIALIZER; | 168 LAZY_INSTANCE_INITIALIZER; |
| 169 #endif | 169 #endif |
| 170 | 170 |
| 171 extern int NaClMain(const content::MainFunctionParams&); | 171 extern int NaClMain(const content::MainFunctionParams&); |
| 172 extern int ServiceProcessMain(const content::MainFunctionParams&); | 172 extern int ServiceProcessMain(const content::MainFunctionParams&); |
| 173 | 173 |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 case version_info::Channel::CANARY: | 1080 case version_info::Channel::CANARY: |
| 1081 return true; | 1081 return true; |
| 1082 case version_info::Channel::DEV: | 1082 case version_info::Channel::DEV: |
| 1083 case version_info::Channel::BETA: | 1083 case version_info::Channel::BETA: |
| 1084 case version_info::Channel::STABLE: | 1084 case version_info::Channel::STABLE: |
| 1085 default: | 1085 default: |
| 1086 // Don't enable instrumentation. | 1086 // Don't enable instrumentation. |
| 1087 return false; | 1087 return false; |
| 1088 } | 1088 } |
| 1089 } | 1089 } |
| OLD | NEW |