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

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

Issue 12035043: Implementing app command to query EULA acceptance state for Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style and string fixes. Created 7 years, 10 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
« no previous file with comments | « chrome/installer/util/eula_util.cc ('k') | chrome/installer/util/installation_validator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 rules(rules_in) { 179 rules(rules_in) {
180 } 180 }
181 181
182 const InstallationState& machine_state; 182 const InstallationState& machine_state;
183 bool system_install; 183 bool system_install;
184 BrowserDistribution* dist; 184 BrowserDistribution* dist;
185 const ProductState& state; 185 const ProductState& state;
186 const ProductRules& rules; 186 const ProductRules& rules;
187 }; 187 };
188 188
189 static void ValidateInstallAppCommand(const ProductContext& ctx,
190 const AppCommand& command,
191 bool* is_valid);
189 static void ValidateOnOsUpgradeCommand(const ProductContext& ctx, 192 static void ValidateOnOsUpgradeCommand(const ProductContext& ctx,
190 const AppCommand& command, 193 const AppCommand& command,
191 bool* is_valid); 194 bool* is_valid);
192 static void ValidateInstallAppCommand(const ProductContext& ctx, 195 static void ValidateQueryEULAAcceptanceCommand(const ProductContext& ctx,
193 const AppCommand& command, 196 const AppCommand& command,
194 bool* is_valid); 197 bool* is_valid);
195 static void ValidateQuickEnableCfCommand(const ProductContext& ctx, 198 static void ValidateQuickEnableCfCommand(const ProductContext& ctx,
196 const AppCommand& command, 199 const AppCommand& command,
197 bool* is_valid); 200 bool* is_valid);
198 static void ValidateQuickEnableApplicationHostCommand( 201 static void ValidateQuickEnableApplicationHostCommand(
199 const ProductContext& ctx, 202 const ProductContext& ctx,
200 const AppCommand& command, 203 const AppCommand& command,
201 bool* is_valid); 204 bool* is_valid);
202 205
203 static void ValidateAppCommandExpectations( 206 static void ValidateAppCommandExpectations(
204 const ProductContext& ctx, 207 const ProductContext& ctx,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 // A collection of all valid installation types. 245 // A collection of all valid installation types.
243 static const InstallationType kInstallationTypes[]; 246 static const InstallationType kInstallationTypes[];
244 247
245 private: 248 private:
246 DISALLOW_IMPLICIT_CONSTRUCTORS(InstallationValidator); 249 DISALLOW_IMPLICIT_CONSTRUCTORS(InstallationValidator);
247 }; 250 };
248 251
249 } // namespace installer 252 } // namespace installer
250 253
251 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_ 254 #endif // CHROME_INSTALLER_UTIL_INSTALLATION_VALIDATOR_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/eula_util.cc ('k') | chrome/installer/util/installation_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698