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

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

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: 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
« no previous file with comments | « no previous file | chrome/browser/mac/keystone_glue.mm » ('j') | chrome/browser/mac/keystone_glue.mm » ('J')
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 26 matching lines...) Expand all
37 kAutoupdatePromoteFailed, // no version 37 kAutoupdatePromoteFailed, // no version
38 kAutoupdateNeedsPromotion, // no version 38 kAutoupdateNeedsPromotion, // no version
39 }; 39 };
40 40
41 // kAutoupdateStatusNotification is the name of the notification posted when 41 // kAutoupdateStatusNotification is the name of the notification posted when
42 // -checkForUpdate and -installUpdate complete. This notification will be 42 // -checkForUpdate and -installUpdate complete. This notification will be
43 // sent with with its sender object set to the KeystoneGlue instance sending 43 // sent with with its sender object set to the KeystoneGlue instance sending
44 // the notification. Its userInfo dictionary will contain an AutoupdateStatus 44 // the notification. Its userInfo dictionary will contain an AutoupdateStatus
45 // value as an intValue at key kAutoupdateStatusStatus. If a version is 45 // value as an intValue at key kAutoupdateStatusStatus. If a version is
46 // available (see AutoupdateStatus), it will be present at key 46 // available (see AutoupdateStatus), it will be present at key
47 // kAutoupdateStatusVersion. 47 // kAutoupdateStatusVersion. If any error messages were supplied by Keystone,
48 // they will be present at key kAutoupdateStatusErrorMessages.
48 extern NSString* const kAutoupdateStatusNotification; 49 extern NSString* const kAutoupdateStatusNotification;
49 extern NSString* const kAutoupdateStatusStatus; 50 extern NSString* const kAutoupdateStatusStatus;
50 extern NSString* const kAutoupdateStatusVersion; 51 extern NSString* const kAutoupdateStatusVersion;
52 extern NSString* const kAutoupdateStatusErrorMessages;
51 53
52 namespace { 54 namespace {
53 55
54 enum BrandFileType { 56 enum BrandFileType {
55 kBrandFileTypeNotDetermined = 0, 57 kBrandFileTypeNotDetermined = 0,
56 kBrandFileTypeNone, 58 kBrandFileTypeNone,
57 kBrandFileTypeUser, 59 kBrandFileTypeUser,
58 kBrandFileTypeSystem, 60 kBrandFileTypeSystem,
59 }; 61 };
60 62
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 219
218 // True if Keystone is enabled. 220 // True if Keystone is enabled.
219 bool KeystoneEnabled(); 221 bool KeystoneEnabled();
220 222
221 // The version of the application currently installed on disk. 223 // The version of the application currently installed on disk.
222 base::string16 CurrentlyInstalledVersion(); 224 base::string16 CurrentlyInstalledVersion();
223 225
224 } // namespace keystone_glue 226 } // namespace keystone_glue
225 227
226 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ 228 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/mac/keystone_glue.mm » ('j') | chrome/browser/mac/keystone_glue.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698