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

http://macfuse.googlecode.com/ · C Header · 33 lines · 6 code · 3 blank · 24 comment · 0 complexity · ac9f14b0718a71d1f4478e5997ec3538 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. // ERRunUpdateCommand uses Update Engine to perform an update for a product
  16. // without a ticket store.
  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 ERRunUpdateCommand : ERCommand {
  27. @private
  28. BOOL success_; // Success flag of the product update.
  29. }
  30. @end // ERRunUpdateCommand