OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #if defined(GOOGLE_CHROME_BUILD) | 5 #if defined(GOOGLE_CHROME_BUILD) |
6 | 6 |
7 #include "chrome/installer/setup/app_launcher_installer.h" | 7 #include "chrome/installer/setup/app_launcher_installer.h" |
8 | 8 |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/version.h" | 10 #include "base/version.h" |
11 #include "chrome/installer/setup/install_worker.h" | 11 #include "chrome/installer/setup/install_worker.h" |
12 #include "chrome/installer/setup/setup_util.h" | 12 #include "chrome/installer/setup/setup_util.h" |
13 #include "chrome/installer/util/google_update_constants.h" | 13 #include "chrome/installer/util/google_update_constants.h" |
14 #include "chrome/installer/util/install_util.h" | 14 #include "chrome/installer/util/install_util.h" |
15 #include "chrome/installer/util/installer_state.h" | 15 #include "chrome/installer/util/installer_state.h" |
16 #include "chrome/installer/util/installer_util_strings.h" | |
17 #include "chrome/installer/util/l10n_string_util.h" | 16 #include "chrome/installer/util/l10n_string_util.h" |
18 #include "chrome/installer/util/product.h" | 17 #include "chrome/installer/util/product.h" |
19 #include "chrome/installer/util/updating_app_registration_data.h" | 18 #include "chrome/installer/util/updating_app_registration_data.h" |
20 #include "chrome/installer/util/work_item.h" | 19 #include "chrome/installer/util/work_item.h" |
21 #include "chrome/installer/util/work_item_list.h" | 20 #include "chrome/installer/util/work_item_list.h" |
22 | 21 |
| 22 #include "installer_util_strings.h" // NOLINT |
| 23 |
23 namespace installer { | 24 namespace installer { |
24 | 25 |
25 namespace { | 26 namespace { |
26 | 27 |
27 // The legacy command ids for installing an application or extension. These are | 28 // The legacy command ids for installing an application or extension. These are |
28 // only here so they can be removed from the registry. | 29 // only here so they can be removed from the registry. |
29 const wchar_t kLegacyCmdInstallApp[] = L"install-application"; | 30 const wchar_t kLegacyCmdInstallApp[] = L"install-application"; |
30 const wchar_t kLegacyCmdInstallExtension[] = L"install-extension"; | 31 const wchar_t kLegacyCmdInstallExtension[] = L"install-extension"; |
31 const wchar_t kLegacyCmdQueryEULAAcceptance[] = L"query-eula-acceptance"; | 32 const wchar_t kLegacyCmdQueryEULAAcceptance[] = L"query-eula-acceptance"; |
32 const wchar_t kLegacyCmdQuickEnableApplicationHost[] = | 33 const wchar_t kLegacyCmdQuickEnableApplicationHost[] = |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // Remove "quick-enable-application-host" command from Binaries. | 111 // Remove "quick-enable-application-host" command from Binaries. |
111 AddLegacyAppCommandRemovalItem(installer_state, binaries_reg_data, | 112 AddLegacyAppCommandRemovalItem(installer_state, binaries_reg_data, |
112 kLegacyCmdQuickEnableApplicationHost, list); | 113 kLegacyCmdQuickEnableApplicationHost, list); |
113 } | 114 } |
114 } | 115 } |
115 } | 116 } |
116 | 117 |
117 } // namespace installer | 118 } // namespace installer |
118 | 119 |
119 #endif // GOOGLE_CHROME_BUILD | 120 #endif // GOOGLE_CHROME_BUILD |
OLD | NEW |