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

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

Issue 2762014: Mac: clang build (Closed)
Patch Set: more Created 10 years, 6 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 | « chrome/browser/cocoa/infobar_controller.h ('k') | chrome/browser/cocoa/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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_KEYSTONE_GLUE_H_ 5 #ifndef CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
6 #define CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_ 6 #define CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 #import <base/scoped_nsobject.h> 9 #import <base/scoped_nsobject.h>
10 10
(...skipping 21 matching lines...) Expand all
32 kAutoupdatePromoteFailed, // no version 32 kAutoupdatePromoteFailed, // no version
33 }; 33 };
34 34
35 // kAutoupdateStatusNotification is the name of the notification posted when 35 // kAutoupdateStatusNotification is the name of the notification posted when
36 // -checkForUpdate and -installUpdate complete. This notification will be 36 // -checkForUpdate and -installUpdate complete. This notification will be
37 // sent with with its sender object set to the KeystoneGlue instance sending 37 // sent with with its sender object set to the KeystoneGlue instance sending
38 // the notification. Its userInfo dictionary will contain an AutoupdateStatus 38 // the notification. Its userInfo dictionary will contain an AutoupdateStatus
39 // value as an intValue at key kAutoupdateStatusStatus. If a version is 39 // value as an intValue at key kAutoupdateStatusStatus. If a version is
40 // available (see AutoupdateStatus), it will be present at key 40 // available (see AutoupdateStatus), it will be present at key
41 // kAutoupdateStatusVersion. 41 // kAutoupdateStatusVersion.
42 extern const NSString* const kAutoupdateStatusNotification; 42 extern NSString* const kAutoupdateStatusNotification;
43 extern const NSString* const kAutoupdateStatusStatus; 43 extern NSString* const kAutoupdateStatusStatus;
44 extern const NSString* const kAutoupdateStatusVersion; 44 extern NSString* const kAutoupdateStatusVersion;
45 45
46 namespace { 46 namespace {
47 enum BrandFileType { 47 enum BrandFileType {
48 kBrandFileTypeNotDetermined = 0, 48 kBrandFileTypeNotDetermined = 0,
49 kBrandFileTypeNone, 49 kBrandFileTypeNone,
50 kBrandFileTypeUser, 50 kBrandFileTypeUser,
51 kBrandFileTypeSystem, 51 kBrandFileTypeSystem,
52 }; 52 };
53 53
54 } // namespace 54 } // namespace
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 181
182 // Called when a checkForUpdate: notification completes. 182 // Called when a checkForUpdate: notification completes.
183 - (void)checkForUpdateComplete:(NSNotification*)notification; 183 - (void)checkForUpdateComplete:(NSNotification*)notification;
184 184
185 // Called when an installUpdate: notification completes. 185 // Called when an installUpdate: notification completes.
186 - (void)installUpdateComplete:(NSNotification*)notification; 186 - (void)installUpdateComplete:(NSNotification*)notification;
187 187
188 @end // @interface KeystoneGlue(ExposedForTesting) 188 @end // @interface KeystoneGlue(ExposedForTesting)
189 189
190 #endif // CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_ 190 #endif // CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/infobar_controller.h ('k') | chrome/browser/cocoa/keystone_glue.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698