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 #ifndef CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ | 5 #ifndef CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ |
6 #define CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ | 6 #define CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 bool* is_valid); | 203 bool* is_valid); |
204 static void ValidateInstallExtensionCommand(const ProductContext& ctx, | 204 static void ValidateInstallExtensionCommand(const ProductContext& ctx, |
205 const AppCommand& app_cmd, | 205 const AppCommand& app_cmd, |
206 bool* is_valid); | 206 bool* is_valid); |
207 static void ValidateOnOsUpgradeCommand(const ProductContext& ctx, | 207 static void ValidateOnOsUpgradeCommand(const ProductContext& ctx, |
208 const AppCommand& app_cmd, | 208 const AppCommand& app_cmd, |
209 bool* is_valid); | 209 bool* is_valid); |
210 static void ValidateQueryEULAAcceptanceCommand(const ProductContext& ctx, | 210 static void ValidateQueryEULAAcceptanceCommand(const ProductContext& ctx, |
211 const AppCommand& app_cmd, | 211 const AppCommand& app_cmd, |
212 bool* is_valid); | 212 bool* is_valid); |
213 static void ValidateQuickEnableCfCommand(const ProductContext& ctx, | |
214 const AppCommand& app_cmd, | |
215 bool* is_valid); | |
216 static void ValidateQuickEnableApplicationHostCommand( | 213 static void ValidateQuickEnableApplicationHostCommand( |
217 const ProductContext& ctx, | 214 const ProductContext& ctx, |
218 const AppCommand& app_cmd, | 215 const AppCommand& app_cmd, |
219 bool* is_valid); | 216 bool* is_valid); |
220 | 217 |
221 static void ValidateAppCommandExpectations( | 218 static void ValidateAppCommandExpectations( |
222 const ProductContext& ctx, | 219 const ProductContext& ctx, |
223 const CommandExpectations& expectations, | 220 const CommandExpectations& expectations, |
224 bool* is_valid); | 221 bool* is_valid); |
225 static void ValidateBinariesCommands(const ProductContext& ctx, | 222 static void ValidateBinariesCommands(const ProductContext& ctx, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 // A collection of all valid installation types. | 257 // A collection of all valid installation types. |
261 static const InstallationType kInstallationTypes[]; | 258 static const InstallationType kInstallationTypes[]; |
262 | 259 |
263 private: | 260 private: |
264 DISALLOW_IMPLICIT_CONSTRUCTORS(InstallationValidator); | 261 DISALLOW_IMPLICIT_CONSTRUCTORS(InstallationValidator); |
265 }; | 262 }; |
266 | 263 |
267 } // namespace installer | 264 } // namespace installer |
268 | 265 |
269 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ | 266 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ |
OLD | NEW |