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

Side by Side Diff: chrome/installer/util/util_constants.h

Issue 18732: Wire the eula and the dialog display code... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Defines all install related constants that need to be used by Chrome as 5 // Defines all install related constants that need to be used by Chrome as
6 // well as Chrome Installer. 6 // well as Chrome Installer.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ 8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__
9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ 9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__
10 10
(...skipping 15 matching lines...) Expand all
26 INVALID_ARCHIVE, // Something wrong with the installer archive 26 INVALID_ARCHIVE, // Something wrong with the installer archive
27 INSUFFICIENT_RIGHTS, // User trying system level install is not Admin 27 INSUFFICIENT_RIGHTS, // User trying system level install is not Admin
28 CHROME_NOT_INSTALLED, // Chrome not installed (returned in case of uninstall) 28 CHROME_NOT_INSTALLED, // Chrome not installed (returned in case of uninstall)
29 CHROME_RUNNING, // Chrome currently running (when trying to uninstall) 29 CHROME_RUNNING, // Chrome currently running (when trying to uninstall)
30 UNINSTALL_CONFIRMED, // User has confirmed Chrome uninstall 30 UNINSTALL_CONFIRMED, // User has confirmed Chrome uninstall
31 UNINSTALL_SUCCESSFUL, // Chrome successfully uninstalled 31 UNINSTALL_SUCCESSFUL, // Chrome successfully uninstalled
32 UNINSTALL_FAILED, // Chrome uninstallation failed 32 UNINSTALL_FAILED, // Chrome uninstallation failed
33 UNINSTALL_CANCELLED, // User cancelled Chrome uninstallation 33 UNINSTALL_CANCELLED, // User cancelled Chrome uninstallation
34 UNKNOWN_STATUS, // Unknown status (this should never happen) 34 UNKNOWN_STATUS, // Unknown status (this should never happen)
35 RENAME_SUCCESSFUL, // Rename of new_chrome.exe to chrome.exe worked 35 RENAME_SUCCESSFUL, // Rename of new_chrome.exe to chrome.exe worked
36 RENAME_FAILED // Rename of new_chrome.exe failed 36 RENAME_FAILED, // Rename of new_chrome.exe failed
37 EULA_REJECTED, // EULA dialog was not accepted by user.
38 EULA_ACCEPTED // EULA dialog was accepted by user.
37 }; 39 };
38 40
39 // These are distibution related install options specified through command 41 // These are distibution related install options specified through command
40 // line switches (see below) or master preference file (see 42 // line switches (see below) or master preference file (see
41 // chrome/installer/util/master_preference.h). The options can be combined, 43 // chrome/installer/util/master_preference.h). The options can be combined,
42 // so they are bit flags. 44 // so they are bit flags.
43 enum InstallOption { 45 enum InstallOption {
44 // A master profile file is provided to installer. 46 // A master profile file is provided to installer.
45 MASTER_PROFILE_PRESENT = 0x1, 47 MASTER_PROFILE_PRESENT = 0x1,
46 // The master profile file provided is valid. 48 // The master profile file provided is valid.
(...skipping 20 matching lines...) Expand all
67 extern const wchar_t kInstallArchive[]; 69 extern const wchar_t kInstallArchive[];
68 extern const wchar_t kInstallerData[]; 70 extern const wchar_t kInstallerData[];
69 extern const wchar_t kLogFile[]; 71 extern const wchar_t kLogFile[];
70 extern const wchar_t kMakeChromeDefault[]; 72 extern const wchar_t kMakeChromeDefault[];
71 extern const wchar_t kRegisterChromeBrowser[]; 73 extern const wchar_t kRegisterChromeBrowser[];
72 extern const wchar_t kRenameChromeExe[]; 74 extern const wchar_t kRenameChromeExe[];
73 extern const wchar_t kRunAsAdmin[]; 75 extern const wchar_t kRunAsAdmin[];
74 extern const wchar_t kSystemLevel[]; 76 extern const wchar_t kSystemLevel[];
75 extern const wchar_t kUninstall[]; 77 extern const wchar_t kUninstall[];
76 extern const wchar_t kVerboseLogging[]; 78 extern const wchar_t kVerboseLogging[];
79 extern const wchar_t kShowEula[];
77 } // namespace switches 80 } // namespace switches
78 81
79 extern const wchar_t kInstallBinaryDir[]; 82 extern const wchar_t kInstallBinaryDir[];
80 extern const wchar_t kChromeExe[]; 83 extern const wchar_t kChromeExe[];
81 extern const wchar_t kChromeOldExe[]; 84 extern const wchar_t kChromeOldExe[];
82 extern const wchar_t kChromeNewExe[]; 85 extern const wchar_t kChromeNewExe[];
83 extern const wchar_t kChromeDll[]; 86 extern const wchar_t kChromeDll[];
84 extern const wchar_t kSetupExe[]; 87 extern const wchar_t kSetupExe[];
85 88
86 extern const wchar_t kUninstallStringField[]; 89 extern const wchar_t kUninstallStringField[];
87 extern const wchar_t kUninstallDisplayNameField[]; 90 extern const wchar_t kUninstallDisplayNameField[];
88 } // namespace installer_util 91 } // namespace installer_util
89 92
90 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__ 93 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698