Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / chrome / browser / mac / keystone_registration.mm
blob82e26599cd50de8fbb426d3b9a05c677d461ef69
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #import "chrome/browser/mac/keystone_registration.h"
7 namespace keystone_registration {
9 // Definitions of the Keystone registration constants needed here. From
10 // KSRegistration.m.
12 NSString* KSRegistrationVersionKey = @"Version";
13 NSString* KSRegistrationExistenceCheckerTypeKey = @"ExistenceCheckerType";
14 NSString* KSRegistrationExistenceCheckerStringKey = @"ExistenceCheckerString";
15 NSString* KSRegistrationServerURLStringKey = @"URLString";
16 NSString* KSRegistrationPreserveTrustedTesterTokenKey = @"PreserveTTT";
17 NSString* KSRegistrationTagKey = @"Tag";
18 NSString* KSRegistrationTagPathKey = @"TagPath";
19 NSString* KSRegistrationTagKeyKey = @"TagKey";
20 NSString* KSRegistrationBrandPathKey = @"BrandPath";
21 NSString* KSRegistrationBrandKeyKey = @"BrandKey";
22 NSString* KSRegistrationVersionPathKey = @"VersionPath";
23 NSString* KSRegistrationVersionKeyKey = @"VersionKey";
25 NSString* KSRegistrationDidCompleteNotification =
26     @"KSRegistrationDidCompleteNotification";
27 NSString* KSRegistrationPromotionDidCompleteNotification =
28     @"KSRegistrationPromotionDidCompleteNotification";
30 NSString* KSRegistrationCheckForUpdateNotification =
31     @"KSRegistrationCheckForUpdateNotification";
32 NSString* KSRegistrationStatusKey = @"Status";
33 NSString* KSRegistrationUpdateCheckErrorKey = @"Error";
35 NSString* KSRegistrationStartUpdateNotification =
36     @"KSRegistrationStartUpdateNotification";
37 NSString* KSUpdateCheckSuccessfulKey = @"CheckSuccessful";
38 NSString* KSUpdateCheckSuccessfullyInstalledKey = @"SuccessfullyInstalled";
40 NSString* KSRegistrationRemoveExistingTag = @"";
42 NSString* KSReportingAttributeValueKey = @"value";
43 NSString* KSReportingAttributeExpirationDateKey = @"expiresAt";
44 NSString* KSReportingAttributeAggregationTypeKey = @"aggregation";
46 }  // namespace keystone_registration