OLD | NEW |
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__) |
11 | 11 |
12 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
| 13 #include <stdint.h> |
13 | 14 |
14 #include "base/mac/scoped_authorizationref.h" | 15 #include "base/mac/scoped_authorizationref.h" |
15 #import "base/mac/scoped_nsobject.h" | 16 #import "base/mac/scoped_nsobject.h" |
16 | 17 |
17 // Possible outcomes of various operations. A version may accompany some of | 18 // Possible outcomes of various operations. A version may accompany some of |
18 // these, but beware: a version is never required. For statuses that can be | 19 // these, but beware: a version is never required. For statuses that can be |
19 // accompanied by a version, the comment indicates what version is referenced. | 20 // accompanied by a version, the comment indicates what version is referenced. |
20 // A notification posted containing an asynchronous status will always be | 21 // A notification posted containing an asynchronous status will always be |
21 // followed by a notification with a terminal status. | 22 // followed by a notification with a terminal status. |
22 enum AutoupdateStatus { | 23 enum AutoupdateStatus { |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 217 |
217 // True if Keystone is enabled. | 218 // True if Keystone is enabled. |
218 bool KeystoneEnabled(); | 219 bool KeystoneEnabled(); |
219 | 220 |
220 // The version of the application currently installed on disk. | 221 // The version of the application currently installed on disk. |
221 base::string16 CurrentlyInstalledVersion(); | 222 base::string16 CurrentlyInstalledVersion(); |
222 | 223 |
223 } // namespace keystone_glue | 224 } // namespace keystone_glue |
224 | 225 |
225 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ | 226 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ |
OLD | NEW |