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 // This file declares util functions for setup project. It also declares a | 5 // This file declares util functions for setup project. It also declares a |
6 // few functions that the Chrome component updater uses for patching binary | 6 // few functions that the Chrome component updater uses for patching binary |
7 // deltas. | 7 // deltas. |
8 | 8 |
9 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ | 9 #ifndef CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ |
10 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ | 10 #define CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ |
(...skipping 15 matching lines...) Expand all Loading... |
26 namespace base { | 26 namespace base { |
27 class CommandLine; | 27 class CommandLine; |
28 class FilePath; | 28 class FilePath; |
29 class Version; | 29 class Version; |
30 } | 30 } |
31 | 31 |
32 namespace installer { | 32 namespace installer { |
33 | 33 |
34 class InstallationState; | 34 class InstallationState; |
35 class InstallerState; | 35 class InstallerState; |
36 class ProductState; | |
37 class MasterPreferences; | 36 class MasterPreferences; |
38 | 37 |
39 extern const char kUnPackStatusMetricsName[]; | 38 extern const char kUnPackStatusMetricsName[]; |
40 extern const char kUnPackNTSTATUSMetricsName[]; | 39 extern const char kUnPackNTSTATUSMetricsName[]; |
41 | 40 |
42 // The name of consumers of UnPackArchive which is used to publish metrics. | 41 // The name of consumers of UnPackArchive which is used to publish metrics. |
43 enum UnPackConsumer { | 42 enum UnPackConsumer { |
44 CHROME_ARCHIVE_PATCH, | 43 CHROME_ARCHIVE_PATCH, |
45 COMPRESSED_CHROME_ARCHIVE, | 44 COMPRESSED_CHROME_ARCHIVE, |
46 SETUP_EXE_PATCH, | 45 SETUP_EXE_PATCH, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 // The previous state of the privilege this object is responsible for. As set | 168 // The previous state of the privilege this object is responsible for. As set |
170 // by AdjustTokenPrivileges() upon construction. | 169 // by AdjustTokenPrivileges() upon construction. |
171 TOKEN_PRIVILEGES previous_privileges_; | 170 TOKEN_PRIVILEGES previous_privileges_; |
172 | 171 |
173 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedTokenPrivilege); | 172 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopedTokenPrivilege); |
174 }; | 173 }; |
175 | 174 |
176 } // namespace installer | 175 } // namespace installer |
177 | 176 |
178 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ | 177 #endif // CHROME_INSTALLER_SETUP_SETUP_UTIL_H_ |
OLD | NEW |