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

Side by Side Diff: chrome/browser/mac/keystone_registration.mm

Issue 1769703002: Add viewing of error messages from Keystone upon self-update failure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Display errors on status==FAILED, not !message.empty() Created 4 years, 9 months 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
OLDNEW
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 #import "chrome/browser/mac/keystone_registration.h" 5 #import "chrome/browser/mac/keystone_registration.h"
6 6
7 namespace keystone_registration { 7 namespace keystone_registration {
8 8
9 // Definitions of the Keystone registration constants needed here. From 9 // Definitions of the Keystone registration constants needed here. From
10 // KSRegistration.m. 10 // KSRegistration.m.
(...skipping 13 matching lines...) Expand all
24 24
25 NSString* KSRegistrationDidCompleteNotification = 25 NSString* KSRegistrationDidCompleteNotification =
26 @"KSRegistrationDidCompleteNotification"; 26 @"KSRegistrationDidCompleteNotification";
27 NSString* KSRegistrationPromotionDidCompleteNotification = 27 NSString* KSRegistrationPromotionDidCompleteNotification =
28 @"KSRegistrationPromotionDidCompleteNotification"; 28 @"KSRegistrationPromotionDidCompleteNotification";
29 29
30 NSString* KSRegistrationCheckForUpdateNotification = 30 NSString* KSRegistrationCheckForUpdateNotification =
31 @"KSRegistrationCheckForUpdateNotification"; 31 @"KSRegistrationCheckForUpdateNotification";
32 NSString* KSRegistrationStatusKey = @"Status"; 32 NSString* KSRegistrationStatusKey = @"Status";
33 NSString* KSRegistrationUpdateCheckErrorKey = @"Error"; 33 NSString* KSRegistrationUpdateCheckErrorKey = @"Error";
34 NSString* KSRegistrationUpdateCheckRawResultsKey = @"RawResults";
35 NSString* KSRegistrationUpdateCheckRawErrorMessagesKey = @"RawErrorMessages";
34 36
35 NSString* KSRegistrationStartUpdateNotification = 37 NSString* KSRegistrationStartUpdateNotification =
36 @"KSRegistrationStartUpdateNotification"; 38 @"KSRegistrationStartUpdateNotification";
37 NSString* KSUpdateCheckSuccessfulKey = @"CheckSuccessful"; 39 NSString* KSUpdateCheckSuccessfulKey = @"CheckSuccessful";
38 NSString* KSUpdateCheckSuccessfullyInstalledKey = @"SuccessfullyInstalled"; 40 NSString* KSUpdateCheckSuccessfullyInstalledKey = @"SuccessfullyInstalled";
39 41
40 NSString* KSRegistrationRemoveExistingTag = @""; 42 NSString* KSRegistrationRemoveExistingTag = @"";
41 43
42 NSString* KSReportingAttributeValueKey = @"value"; 44 NSString* KSReportingAttributeValueKey = @"value";
43 NSString* KSReportingAttributeExpirationDateKey = @"expiresAt"; 45 NSString* KSReportingAttributeExpirationDateKey = @"expiresAt";
44 NSString* KSReportingAttributeAggregationTypeKey = @"aggregation"; 46 NSString* KSReportingAttributeAggregationTypeKey = @"aggregation";
45 47
46 } // namespace keystone_registration 48 } // namespace keystone_registration
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698