Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: chrome/browser/mac/keystone_glue.h

Issue 2583743002: Add mac-only "Set Up Automatic Updates..." button to the new about page. (Closed)
Patch Set: add back nullptr check Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/mac/keystone_glue.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GLUE_H_ 5 #ifndef CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_
6 #define CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ 6 #define CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 9
10 #if defined(__OBJC__) 10 #if defined(__OBJC__)
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // will fail given the rights and permissions involved. On the other hand, 159 // will fail given the rights and permissions involved. On the other hand,
160 // when -needsPromotion is YES, the application can encourage the user to 160 // when -needsPromotion is YES, the application can encourage the user to
161 // promote the ticket so that updates will work properly. 161 // promote the ticket so that updates will work properly.
162 // 162 //
163 // Use -wantsPromotion to decide whether to allow the user to promote. The 163 // Use -wantsPromotion to decide whether to allow the user to promote. The
164 // user shouldn't be nagged about promotion on the basis of -wantsPromotion, 164 // user shouldn't be nagged about promotion on the basis of -wantsPromotion,
165 // but if it's YES, the user should be allowed to promote the ticket. 165 // but if it's YES, the user should be allowed to promote the ticket.
166 - (BOOL)needsPromotion; 166 - (BOOL)needsPromotion;
167 - (BOOL)wantsPromotion; 167 - (BOOL)wantsPromotion;
168 168
169 // -isAutoupdateEnabledForAllUsers indicates whether or not autoupdate is
170 // turned on for all users.
171 - (BOOL)isAutoupdateEnabledForAllUsers;
172
169 // Promotes the Keystone ticket into the system store. System Keystone will 173 // Promotes the Keystone ticket into the system store. System Keystone will
170 // be installed if necessary. If synchronous is NO, the promotion may occur 174 // be installed if necessary. If synchronous is NO, the promotion may occur
171 // in the background. synchronous should be YES for promotion during 175 // in the background. synchronous should be YES for promotion during
172 // installation. The KeystoneGlue object assumes ownership of 176 // installation. The KeystoneGlue object assumes ownership of
173 // authorization_arg. 177 // authorization_arg.
174 - (void)promoteTicketWithAuthorization:(AuthorizationRef)authorization_arg 178 - (void)promoteTicketWithAuthorization:(AuthorizationRef)authorization_arg
175 synchronous:(BOOL)synchronous; 179 synchronous:(BOOL)synchronous;
176 180
177 // Requests authorization and calls -promoteTicketWithAuthorization: in 181 // Requests authorization and calls -promoteTicketWithAuthorization: in
178 // asynchronous mode. 182 // asynchronous mode.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 225
222 // True if Keystone is enabled. 226 // True if Keystone is enabled.
223 bool KeystoneEnabled(); 227 bool KeystoneEnabled();
224 228
225 // The version of the application currently installed on disk. 229 // The version of the application currently installed on disk.
226 base::string16 CurrentlyInstalledVersion(); 230 base::string16 CurrentlyInstalledVersion();
227 231
228 } // namespace keystone_glue 232 } // namespace keystone_glue
229 233
230 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ 234 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_
OLDNEW
« no previous file with comments | « chrome/app/settings_strings.grdp ('k') | chrome/browser/mac/keystone_glue.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698