Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_ | |
| 6 #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_ | |
| 7 | |
| 8 namespace mini_installer { | |
| 9 | |
| 10 // Various filenames and prefixes. | |
| 11 // The target name of the installer extracted from resources. | |
|
gab
2014/07/07 13:45:01
Typically with pref names and constants I've notic
grt (UTC plus 2)
2014/07/07 14:24:06
Done.
| |
| 12 extern const wchar_t kSetupExe[]; | |
| 13 // The prefix of the chrome archive resource. | |
| 14 extern const wchar_t kChromeArchivePrefix[]; | |
| 15 // The prefix of the installer resource. | |
| 16 extern const wchar_t kSetupPrefix[]; | |
| 17 | |
| 18 // Command line switch names for setup.exe (sans switch prefixes). | |
|
gab
2014/07/07 13:45:01
I didn't originally understand what was meant by "
grt (UTC plus 2)
2014/07/07 14:24:06
i mentioned it because it is a change from the old
| |
| 19 extern const wchar_t kCmdInstallArchive[]; | |
| 20 extern const wchar_t kCmdUpdateSetupExe[]; | |
| 21 extern const wchar_t kCmdNewSetupExe[]; | |
| 22 | |
| 23 // Temp directory prefix that this process creates. | |
| 24 extern const wchar_t kTempPrefix[]; | |
| 25 // ap value suffix to force subsequent updates to use the full rather than | |
| 26 // differential updater. | |
| 27 extern const wchar_t kFullInstallerSuffix[]; | |
| 28 // ap value tag for a multi-install product. | |
| 29 extern const wchar_t kMultiInstallTag[]; | |
| 30 | |
| 31 // The resource types that would be unpacked from the mini installer. | |
| 32 // Uncompressed binary. | |
| 33 extern const wchar_t kBinResourceType[]; | |
| 34 // LZ compressed binary. | |
| 35 extern const wchar_t kLZCResourceType[]; | |
| 36 // 7zip archive. | |
| 37 extern const wchar_t kLZMAResourceType[]; | |
| 38 | |
| 39 // Registry value names. | |
| 40 // The name of an app's Client State registry value that holds its tag/channel. | |
| 41 extern const wchar_t kApRegistryValue[]; | |
| 42 // The name of the value in kCleanupRegistryKey that tells the installer not to | |
| 43 // delete extracted files. | |
| 44 extern const wchar_t kCleanupRegistryValue[]; | |
| 45 // The name of an app's Client State registry value that holds the path to its | |
| 46 // uninstaller. | |
| 47 extern const wchar_t kUninstallRegistryValue[]; | |
| 48 | |
| 49 // Registry key paths. | |
| 50 // The path to the key containing each app's Client State registry key. | |
| 51 extern const wchar_t kClientStateKeyBase[]; | |
| 52 // The path to the key in which kCleanupRegistryValue is found. | |
| 53 extern const wchar_t kCleanupRegistryKey[]; | |
| 54 | |
| 55 // One gigabyte is the biggest resource size that it can handle. | |
| 56 extern const size_t kMaxResourceSize; | |
| 57 | |
| 58 } // namespace mini_installer | |
| 59 | |
| 60 #endif // CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_ | |
| OLD | NEW |