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