OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // Brand-specific types and constants for Google Chrome. | 5 // Brand-specific types and constants for Google Chrome. |
6 | 6 |
7 #ifndef CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ | 7 #ifndef CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ |
8 #define CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ | 8 #define CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ |
9 | 9 |
10 namespace install_static { | 10 namespace install_static { |
11 | 11 |
12 enum : bool { | 12 enum : bool { |
13 kUseGoogleUpdateIntegration = true, | 13 kUseGoogleUpdateIntegration = true, |
14 }; | 14 }; |
15 | 15 |
| 16 // Note: This list of indices must be kept in sync with the brand-specific |
| 17 // resource strings in chrome/installer/util/prebuild/create_string_rc. |
16 enum InstallConstantIndex { | 18 enum InstallConstantIndex { |
17 STABLE_INDEX, | 19 STABLE_INDEX, |
18 CANARY_INDEX, | 20 CANARY_INDEX, |
19 NUM_INSTALL_MODES, | 21 NUM_INSTALL_MODES, |
20 }; | 22 }; |
21 | 23 |
22 } // namespace install_static | 24 } // namespace install_static |
23 | 25 |
24 #endif // CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ | 26 #endif // CHROME_INSTALL_STATIC_GOOGLE_CHROME_INSTALL_MODES_H_ |
OLD | NEW |