| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 #endif | 116 #endif |
| 117 | 117 |
| 118 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 118 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 119 #include "components/crash/content/app/breakpad_linux.h" | 119 #include "components/crash/content/app/breakpad_linux.h" |
| 120 #endif | 120 #endif |
| 121 | 121 |
| 122 #if defined(OS_LINUX) | 122 #if defined(OS_LINUX) |
| 123 #include "base/environment.h" | 123 #include "base/environment.h" |
| 124 #endif | 124 #endif |
| 125 | 125 |
| 126 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 127 // Include this without depending on it. Only linux should complain. |
| 128 #include "components/os_crypt/os_crypt.h" |
| 129 #endif |
| 130 |
| 126 #if defined(OS_MACOSX) || defined(OS_WIN) | 131 #if defined(OS_MACOSX) || defined(OS_WIN) |
| 127 #include "chrome/browser/policy/policy_path_parser.h" | 132 #include "chrome/browser/policy/policy_path_parser.h" |
| 128 #endif | 133 #endif |
| 129 | 134 |
| 130 #if defined(OS_CHROMEOS) | 135 #if defined(OS_CHROMEOS) |
| 131 #include "components/metrics/leak_detector/leak_detector.h" | 136 #include "components/metrics/leak_detector/leak_detector.h" |
| 132 #endif | 137 #endif |
| 133 | 138 |
| 134 #if !defined(DISABLE_NACL) | 139 #if !defined(DISABLE_NACL) |
| 135 #include "components/nacl/common/nacl_switches.h" | 140 #include "components/nacl/common/nacl_switches.h" |
| (...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1038 case version_info::Channel::CANARY: | 1043 case version_info::Channel::CANARY: |
| 1039 return true; | 1044 return true; |
| 1040 case version_info::Channel::DEV: | 1045 case version_info::Channel::DEV: |
| 1041 case version_info::Channel::BETA: | 1046 case version_info::Channel::BETA: |
| 1042 case version_info::Channel::STABLE: | 1047 case version_info::Channel::STABLE: |
| 1043 default: | 1048 default: |
| 1044 // Don't enable instrumentation. | 1049 // Don't enable instrumentation. |
| 1045 return false; | 1050 return false; |
| 1046 } | 1051 } |
| 1047 } | 1052 } |
| OLD | NEW |