| OLD | NEW |
| 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 | 10 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // Called when an installUpdate: notification completes. | 191 // Called when an installUpdate: notification completes. |
| 192 - (void)installUpdateComplete:(NSNotification*)notification; | 192 - (void)installUpdateComplete:(NSNotification*)notification; |
| 193 | 193 |
| 194 @end // @interface KeystoneGlue(ExposedForTesting) | 194 @end // @interface KeystoneGlue(ExposedForTesting) |
| 195 | 195 |
| 196 #endif // __OBJC__ | 196 #endif // __OBJC__ |
| 197 | 197 |
| 198 // Functions that may be accessed from non-Objective-C C/C++ code. | 198 // Functions that may be accessed from non-Objective-C C/C++ code. |
| 199 namespace keystone_glue { | 199 namespace keystone_glue { |
| 200 | 200 |
| 201 // Returns the brand code of the installation. |
| 202 std::string BrandCode(); |
| 203 |
| 201 // True if Keystone is enabled. | 204 // True if Keystone is enabled. |
| 202 bool KeystoneEnabled(); | 205 bool KeystoneEnabled(); |
| 203 | 206 |
| 204 // The version of the application currently installed on disk. | 207 // The version of the application currently installed on disk. |
| 205 string16 CurrentlyInstalledVersion(); | 208 string16 CurrentlyInstalledVersion(); |
| 206 | 209 |
| 207 } // namespace keystone_glue | 210 } // namespace keystone_glue |
| 208 | 211 |
| 209 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ | 212 #endif // CHROME_BROWSER_MAC_KEYSTONE_GLUE_H_ |
| OLD | NEW |