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> |
| 8 |
7 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
8 #include "base/command_line.h" | 10 #include "base/command_line.h" |
9 #include "base/cpu.h" | 11 #include "base/cpu.h" |
10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
11 #include "base/i18n/rtl.h" | 13 #include "base/i18n/rtl.h" |
12 #include "base/lazy_instance.h" | 14 #include "base/lazy_instance.h" |
| 15 #include "base/macros.h" |
13 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
14 #include "base/metrics/statistics_recorder.h" | 17 #include "base/metrics/statistics_recorder.h" |
15 #include "base/path_service.h" | 18 #include "base/path_service.h" |
16 #include "base/process/memory.h" | 19 #include "base/process/memory.h" |
17 #include "base/process/process_handle.h" | 20 #include "base/process/process_handle.h" |
18 #include "base/process/process_info.h" | 21 #include "base/process/process_info.h" |
19 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
20 #include "base/time/time.h" | 23 #include "base/time/time.h" |
21 #include "base/trace_event/trace_event_impl.h" | 24 #include "base/trace_event/trace_event_impl.h" |
22 #include "build/build_config.h" | 25 #include "build/build_config.h" |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 case version_info::Channel::CANARY: | 991 case version_info::Channel::CANARY: |
989 return true; | 992 return true; |
990 case version_info::Channel::DEV: | 993 case version_info::Channel::DEV: |
991 case version_info::Channel::BETA: | 994 case version_info::Channel::BETA: |
992 case version_info::Channel::STABLE: | 995 case version_info::Channel::STABLE: |
993 default: | 996 default: |
994 // Don't enable instrumentation. | 997 // Don't enable instrumentation. |
995 return false; | 998 return false; |
996 } | 999 } |
997 } | 1000 } |
OLD | NEW |