PageRenderTime 24ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

C++ Header | 47 lines | 16 code | 4 blank | 27 comment | 0 complexity | fd6704610aa3b9ec4b35ddab35e7605b MD5 | raw file
 1// Copyright 2008 Google Inc.
 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
 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.
15#import <Foundation/Foundation.h>
17// These are dictionary keys for parameters passed to a KSUpdateEngine from its
18// acquirer.  All values for these keys should be NSStrings unless otherwise
19// specified.  GUIDs (also as NSStrings) should be wrapped in curly braces, for
20// example {27A29829-BDBD-4AB5-AC67-C00010B9AC4C}.
21#define kUpdateEngineMachineID           @"MachineID"
22#define kUpdateEngineUserGUID            @"UserGUID"
23#define kUpdateEngineOSVersion           @"OSVersion"      // e.g. "10.5.2_x86"
24#define kUpdateEngineUpdateCheckTag      @"UpdateCheckTag"
25#define kUpdateEngineIsMachine           @"IsMachine"
26#define kUpdateEngineProductStats        @"ProductStats"   // productID -> dict
27#define kUpdateEngineUserInitiated       @"UserInitiated"  // BOOL in NSNumber
28// The identity to use in server requests (if the server class supports it).
29// Default is server-defined.
30#define kUpdateEngineIdentity            @"Identity"
31// NSArray of NSStrings.
32#define kUpdateEngineAllowedSubdomains   @"AllowedSubdomains"
33// NSDictionary, keyed by productID, of dictionaries, which contain
34// keys from "Product active keys" below
35#define kUpdateEngineProductActiveInfoKey   @"ActivesInfo"
36// NSDictionary, keyed by a string representation of an URL, that contains
37// information returned by the server on a previous run.  KSOmahaServer
38// stores its secondsSinceMidnight value here.
39#define kUpdateEngineServerInfoKey          @"ServerInfo"
41// Product stat dictionary keys.
42#define kUpdateEngineProductStatsActive  @"Active"  // BOOL in NSNumber
44// Product active keys.  Values are NSDates.
45#define kUpdateEngineLastActiveDate @"LastActiveDate"
46#define kUpdateEngineLastActivePingDate @"LastActivePingDate"
47#define kUpdateEngineLastRollCallPingDate @"LastRollCallPingDate"