OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ | 5 #ifndef CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ |
6 #define CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ | 6 #define CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 #include <Security/Authorization.h> | 9 #include <Security/Authorization.h> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 @interface KSRegistration : NSObject | 55 @interface KSRegistration : NSObject |
56 | 56 |
57 + (id)registrationWithProductID:(NSString*)productID; | 57 + (id)registrationWithProductID:(NSString*)productID; |
58 | 58 |
59 - (BOOL)registerWithParameters:(NSDictionary*)args; | 59 - (BOOL)registerWithParameters:(NSDictionary*)args; |
60 | 60 |
61 - (BOOL)promoteWithParameters:(NSDictionary*)args | 61 - (BOOL)promoteWithParameters:(NSDictionary*)args |
62 authorization:(AuthorizationRef)authorization; | 62 authorization:(AuthorizationRef)authorization; |
63 | 63 |
64 - (void)setActive; | 64 - (void)setActive; |
65 - (void)checkForUpdate; | 65 - (void)checkForUpdateWasUserInitiated:(BOOL)userInitiated; |
66 - (void)startUpdate; | 66 - (void)startUpdate; |
67 - (keystone_registration::KSRegistrationTicketType)ticketType; | 67 - (keystone_registration::KSRegistrationTicketType)ticketType; |
68 | 68 |
69 @end // @interface KSRegistration | 69 @end // @interface KSRegistration |
70 | 70 |
71 #endif // CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ | 71 #endif // CHROME_BROWSER_MAC_KEYSTONE_REGISTRATION_H_ |
OLD | NEW |