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/installer/setup/setup_constants.h" | 5 #include "chrome/installer/setup/setup_constants.h" |
6 | 6 |
7 namespace installer { | 7 namespace installer { |
8 | 8 |
9 // Elements that make up install paths. | 9 // Elements that make up install paths. |
10 const wchar_t kChromeArchive[] = L"chrome.7z"; | 10 const wchar_t kChromeArchive[] = L"chrome.7z"; |
11 const wchar_t kChromeCompressedArchive[] = L"chrome.packed.7z"; | 11 const wchar_t kChromeCompressedArchive[] = L"chrome.packed.7z"; |
12 const wchar_t kVisualElements[] = L"VisualElements"; | 12 const wchar_t kVisualElements[] = L"VisualElements"; |
13 const wchar_t kVisualElementsManifest[] = L"chrome.VisualElementsManifest.xml"; | 13 const wchar_t kVisualElementsManifest[] = L"chrome.VisualElementsManifest.xml"; |
14 | 14 |
15 // Sub directory of install source package under install temporary directory. | 15 // Sub directory of install source package under install temporary directory. |
16 const wchar_t kInstallSourceDir[] = L"source"; | 16 const wchar_t kInstallSourceDir[] = L"source"; |
17 const wchar_t kInstallSourceChromeDir[] = L"Chrome-bin"; | 17 const wchar_t kInstallSourceChromeDir[] = L"Chrome-bin"; |
18 | 18 |
19 const wchar_t kMediaPlayerRegPath[] = | 19 const wchar_t kMediaPlayerRegPath[] = |
20 L"Software\\Microsoft\\MediaPlayer\\ShimInclusionList"; | 20 L"Software\\Microsoft\\MediaPlayer\\ShimInclusionList"; |
21 | 21 |
| 22 // Event log provider registry location and value names. |
| 23 const wchar_t kEventlogProvidersRegPath[] = |
| 24 L"\\SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application"; |
| 25 const wchar_t kChromeEventLogProviderName[] = L"chrome"; |
| 26 const wchar_t kCategoryCount[] = L"CategoryCount"; |
| 27 const wchar_t kTypesSupported[] = L"TypesSupported"; |
| 28 const wchar_t kCategoryMessageFile[] = L"CategoryMessageFile"; |
| 29 const wchar_t kEventMessageFile[] = L"EventMessageFile"; |
| 30 const wchar_t kParameterMessageFile[] = L"ParameterMessageFile"; |
| 31 |
22 namespace switches { | 32 namespace switches { |
23 | 33 |
24 // Setting this will delay the operation of setup by the specified number of | 34 // Setting this will delay the operation of setup by the specified number of |
25 // seconds. This is used when changing the DisplayVersion registry value | 35 // seconds. This is used when changing the DisplayVersion registry value |
26 // only after some time has passed, called by the MSI installer. | 36 // only after some time has passed, called by the MSI installer. |
27 const char kDelay[] = "delay"; | 37 const char kDelay[] = "delay"; |
28 | 38 |
29 // Set the MSI-managed DisplayVersion in the registry to match Chrome's real | 39 // Set the MSI-managed DisplayVersion in the registry to match Chrome's real |
30 // version number. The parameter to this option specifies the product-id in | 40 // version number. The parameter to this option specifies the product-id in |
31 // the registry under HKLM. | 41 // the registry under HKLM. |
32 const char kSetDisplayVersionProduct[] = "set-display-version-product"; | 42 const char kSetDisplayVersionProduct[] = "set-display-version-product"; |
33 const char kSetDisplayVersionValue[] = "set-display-version-value"; | 43 const char kSetDisplayVersionValue[] = "set-display-version-value"; |
34 | 44 |
35 } // namespace switches | 45 } // namespace switches |
36 | 46 |
37 } // namespace installer | 47 } // namespace installer |
OLD | NEW |