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 <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "base/threading/platform_thread.h" | 35 #include "base/threading/platform_thread.h" |
36 #include "base/time/time.h" | 36 #include "base/time/time.h" |
37 #include "base/values.h" | 37 #include "base/values.h" |
38 #include "build/build_config.h" | 38 #include "build/build_config.h" |
39 #include "chrome/browser/about_flags.h" | 39 #include "chrome/browser/about_flags.h" |
40 #include "chrome/browser/browser_process.h" | 40 #include "chrome/browser/browser_process.h" |
41 #include "chrome/browser/browser_process_impl.h" | 41 #include "chrome/browser/browser_process_impl.h" |
42 #include "chrome/browser/browser_process_platform_part.h" | 42 #include "chrome/browser/browser_process_platform_part.h" |
43 #include "chrome/browser/browser_shutdown.h" | 43 #include "chrome/browser/browser_shutdown.h" |
44 #include "chrome/browser/chrome_browser_main_extra_parts.h" | 44 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
| 45 #include "chrome/browser/component_updater/cld_component_installer.h" |
45 #include "chrome/browser/component_updater/component_updater_service.h" | 46 #include "chrome/browser/component_updater/component_updater_service.h" |
46 #include "chrome/browser/component_updater/flash_component_installer.h" | 47 #include "chrome/browser/component_updater/flash_component_installer.h" |
47 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" | 48 #include "chrome/browser/component_updater/pnacl/pnacl_component_installer.h" |
48 #include "chrome/browser/component_updater/recovery_component_installer.h" | 49 #include "chrome/browser/component_updater/recovery_component_installer.h" |
49 #include "chrome/browser/component_updater/swiftshader_component_installer.h" | 50 #include "chrome/browser/component_updater/swiftshader_component_installer.h" |
50 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h" | 51 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h" |
51 #include "chrome/browser/defaults.h" | 52 #include "chrome/browser/defaults.h" |
52 #include "chrome/browser/extensions/extension_service.h" | 53 #include "chrome/browser/extensions/extension_service.h" |
53 #include "chrome/browser/extensions/startup_helper.h" | 54 #include "chrome/browser/extensions/startup_helper.h" |
54 #include "chrome/browser/first_run/first_run.h" | 55 #include "chrome/browser/first_run/first_run.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 #include "ui/gfx/win/dpi.h" | 176 #include "ui/gfx/win/dpi.h" |
176 #endif // defined(OS_WIN) | 177 #endif // defined(OS_WIN) |
177 | 178 |
178 #if defined(OS_MACOSX) | 179 #if defined(OS_MACOSX) |
179 #include <Security/Security.h> | 180 #include <Security/Security.h> |
180 | 181 |
181 #include "base/mac/scoped_nsautorelease_pool.h" | 182 #include "base/mac/scoped_nsautorelease_pool.h" |
182 #include "chrome/browser/mac/keystone_glue.h" | 183 #include "chrome/browser/mac/keystone_glue.h" |
183 #endif | 184 #endif |
184 | 185 |
185 #if defined(CLD_DATA_FROM_COMPONENT) | |
186 #include "chrome/browser/component_updater/cld_component_installer.h" | |
187 #endif | |
188 | |
189 #if !defined(DISABLE_NACL) | 186 #if !defined(DISABLE_NACL) |
190 #include "components/nacl/browser/nacl_process_host.h" | 187 #include "components/nacl/browser/nacl_process_host.h" |
191 #endif | 188 #endif |
192 | 189 |
193 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD) | 190 #if defined(ENABLE_FULL_PRINTING) && !defined(OFFICIAL_BUILD) |
194 #include "printing/printed_document.h" | 191 #include "printing/printed_document.h" |
195 #endif | 192 #endif |
196 | 193 |
197 #if defined(ENABLE_RLZ) | 194 #if defined(ENABLE_RLZ) |
198 #include "chrome/browser/rlz/rlz.h" | 195 #include "chrome/browser/rlz/rlz.h" |
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1658 chromeos::CrosSettings::Shutdown(); | 1655 chromeos::CrosSettings::Shutdown(); |
1659 #endif | 1656 #endif |
1660 #endif | 1657 #endif |
1661 } | 1658 } |
1662 | 1659 |
1663 // Public members: | 1660 // Public members: |
1664 | 1661 |
1665 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { | 1662 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { |
1666 chrome_extra_parts_.push_back(parts); | 1663 chrome_extra_parts_.push_back(parts); |
1667 } | 1664 } |
OLD | NEW |