Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(823)

Side by Side Diff: chrome/installer/mini_installer/mini_installer_constants.cc

Issue 365143002: mini_installer code cleanups (no functional changes). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 #include "chrome/installer/mini_installer/mini_installer_constants.h"
6
7 namespace mini_installer {
8
9 // Various filenames and prefixes.
10 const wchar_t kSetupExe[] = L"setup.exe";
11 const wchar_t kChromeArchivePrefix[] = L"chrome";
12 const wchar_t kSetupPrefix[] = L"setup";
13
14 // Command line switch names for setup.exe (sans switch prefixes).
15 const wchar_t kCmdInstallArchive[] = L"install-archive";
16 const wchar_t kCmdUpdateSetupExe[] = L"update-setup-exe";
17 const wchar_t kCmdNewSetupExe[] = L"new-setup-exe";
18
19 // Temp directory prefix that this process creates.
20 const wchar_t kTempPrefix[] = L"CR_";
21 const wchar_t kFullInstallerSuffix[] = L"-full";
22 const wchar_t kMultiInstallTag[] = L"-multi";
23
24 // The resource types that would be unpacked from the mini installer.
25 const wchar_t kBinResourceType[] = L"BN";
26 const wchar_t kLZCResourceType[] = L"BL";
27 const wchar_t kLZMAResourceType[] = L"B7";
28
29 // Registry value names.
30 const wchar_t kApRegistryValue[] = L"ap";
31 const wchar_t kCleanupRegistryValue[] = L"ChromeInstallerCleanup";
32 const wchar_t kUninstallRegistryValue[] = L"UninstallString";
33
34 // Registry key paths.
35 #if defined(GOOGLE_CHROME_BUILD)
36 const wchar_t kClientStateKeyBase[] =
37 L"Software\\Google\\Update\\ClientState\\";
38 const wchar_t kCleanupRegistryKey[] =
39 L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome";
40 #else
41 const wchar_t kClientStateKeyBase[] = L"Software\\Chromium";
42 const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium";
43 #endif
44
45 const size_t kMaxResourceSize = 1024*1024*1024;
46
47 } // namespace mini_installer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698