/core/externals/update-engine/Samples/EngineRunner/ERDryRunCommand.h

http://macfuse.googlecode.com/ · C Header · 33 lines · 6 code · 3 blank · 24 comment · 0 complexity · 39cf371d5a516cd393cac93514a3f128 MD5 · raw file

  1. // Copyright 2008 Google Inc.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. #import "ERCommand.h"
  15. // ERDryRunCommand runs the Update Engine machinery to see what products
  16. // would be updated, but doesn't actually let the update happen.
  17. //
  18. // Required arguments:
  19. // productid : Product ID for the product to update
  20. // version : Current version of the product
  21. // url : Server URL
  22. //
  23. // Optional argument:
  24. // xcpath : Existence checker path
  25. //
  26. @interface ERDryRunCommand : ERCommand {
  27. @private
  28. NSArray *products_; // The products that would be updated.
  29. }
  30. @end // ERDryRunCommand