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/browser/chrome_browser_main.h" | 5 #include "chrome/browser/chrome_browser_main.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 #include <utility> | 12 #include <utility> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/at_exit.h" | 15 #include "base/at_exit.h" |
16 #include "base/base_switches.h" | 16 #include "base/base_switches.h" |
17 #include "base/bind.h" | 17 #include "base/bind.h" |
18 #include "base/command_line.h" | 18 #include "base/command_line.h" |
19 #include "base/debug/crash_logging.h" | 19 #include "base/debug/crash_logging.h" |
20 #include "base/debug/debugger.h" | 20 #include "base/debug/debugger.h" |
21 #include "base/feature_list.h" | 21 #include "base/feature_list.h" |
22 #include "base/files/file_path.h" | 22 #include "base/files/file_path.h" |
23 #include "base/files/file_util.h" | 23 #include "base/files/file_util.h" |
24 #include "base/logging.h" | 24 #include "base/logging.h" |
25 #include "base/memory/ptr_util.h" | 25 #include "base/memory/ptr_util.h" |
| 26 #include "base/message_loop/message_loop.h" |
26 #include "base/metrics/field_trial.h" | 27 #include "base/metrics/field_trial.h" |
27 #include "base/metrics/histogram_macros.h" | 28 #include "base/metrics/histogram_macros.h" |
28 #include "base/path_service.h" | 29 #include "base/path_service.h" |
29 #include "base/profiler/scoped_tracker.h" | 30 #include "base/profiler/scoped_tracker.h" |
30 #include "base/profiler/stack_sampling_profiler.h" | 31 #include "base/profiler/stack_sampling_profiler.h" |
31 #include "base/run_loop.h" | 32 #include "base/run_loop.h" |
32 #include "base/strings/string16.h" | 33 #include "base/strings/string16.h" |
33 #include "base/strings/string_number_conversions.h" | 34 #include "base/strings/string_number_conversions.h" |
34 #include "base/strings/string_piece.h" | 35 #include "base/strings/string_piece.h" |
35 #include "base/strings/sys_string_conversions.h" | 36 #include "base/strings/sys_string_conversions.h" |
(...skipping 2029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2065 chromeos::CrosSettings::Shutdown(); | 2066 chromeos::CrosSettings::Shutdown(); |
2066 #endif // defined(OS_CHROMEOS) | 2067 #endif // defined(OS_CHROMEOS) |
2067 #endif // defined(OS_ANDROID) | 2068 #endif // defined(OS_ANDROID) |
2068 } | 2069 } |
2069 | 2070 |
2070 // Public members: | 2071 // Public members: |
2071 | 2072 |
2072 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { | 2073 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { |
2073 chrome_extra_parts_.push_back(parts); | 2074 chrome_extra_parts_.push_back(parts); |
2074 } | 2075 } |
OLD | NEW |