Android: Get rid of extra dup()s on launching child processes
[chromium-blink-merge.git] / chrome / installer / mini_installer / mini_installer_constants.h
blob89f0debd2f2d6ac98e75b102dae61f0e2723dd82
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.
5 #ifndef CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_
6 #define CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_
8 namespace mini_installer {
10 // Various filenames and prefixes.
11 extern const wchar_t kSetupExe[];
12 extern const wchar_t kChromeArchivePrefix[];
13 extern const wchar_t kSetupPrefix[];
15 // Unprefixed command line switch names for setup.exe.
16 #if defined(COMPONENT_BUILD)
17 extern const wchar_t kCmdUncompressedArchive[];
18 #else
19 extern const wchar_t kCmdInstallArchive[];
20 #endif
21 extern const wchar_t kCmdUpdateSetupExe[];
22 extern const wchar_t kCmdNewSetupExe[];
24 extern const wchar_t kTempPrefix[];
25 extern const wchar_t kFullInstallerSuffix[];
26 extern const wchar_t kMultiInstallTag[];
28 // The resource types that would be unpacked from the mini installer.
29 extern const wchar_t kBinResourceType[];
30 extern const wchar_t kLZCResourceType[];
31 extern const wchar_t kLZMAResourceType[];
33 // Registry value names.
34 extern const wchar_t kApRegistryValue[];
35 extern const wchar_t kCleanupRegistryValue[];
36 extern const wchar_t kUninstallRegistryValue[];
38 // Registry key paths.
39 extern const wchar_t kClientStateKeyBase[];
40 extern const wchar_t kCleanupRegistryKey[];
42 extern const size_t kMaxResourceSize;
44 } // namespace mini_installer
46 #endif // CHROME_INSTALLER_MINI_INSTALLER_MINI_INSTALLER_CONSTANTS_H_