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

Unified Diff: chrome/browser/cocoa/keystone_glue.h

Issue 3032001: Make UpgradeDetector work on the Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/cocoa/keystone_glue.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/keystone_glue.h
===================================================================
--- chrome/browser/cocoa/keystone_glue.h (revision 52487)
+++ chrome/browser/cocoa/keystone_glue.h (working copy)
@@ -5,9 +5,13 @@
#ifndef CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
#define CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
+#include "base/string16.h"
+
+#if defined(__OBJC__)
+
#import <Foundation/Foundation.h>
-#import <base/scoped_nsobject.h>
+#import "base/scoped_nsobject.h"
#include "chrome/browser/cocoa/scoped_authorizationref.h"
// Possible outcomes of various operations. A version may accompany some of
@@ -188,4 +192,17 @@
@end // @interface KeystoneGlue(ExposedForTesting)
+#endif // __OBJC__
+
+// Functions that may be accessed from non-Objective-C C/C++ code.
+namespace keystone_glue {
+
+// True if Keystone is enabled.
+bool KeystoneEnabled();
+
+// The version of the application currently installed on disk.
+string16 CurrentlyInstalledVersion();
+
+} // namespace keystone_glue
+
#endif // CHROME_BROWSER_COCOA_KEYSTONE_GLUE_H_
« no previous file with comments | « no previous file | chrome/browser/cocoa/keystone_glue.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698