/core/externals/update-engine/Samples/EngineRunner/ERRunUpdateCommand.h
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 15#import "ERCommand.h" 16 17// ERRunUpdateCommand uses Update Engine to perform an update for a product 18// without a ticket store. 19// 20// Required arguments: 21// productid : Product ID for the product to update 22// version : Current version of the product 23// url : Server URL 24// 25// Optional argument: 26// xcpath : Existence checker path 27// 28@interface ERRunUpdateCommand : ERCommand { 29 @private 30 BOOL success_; // Success flag of the product update. 31} 32 33@end // ERRunUpdateCommand