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

Unified Diff: chrome/common/mac/app_mode_common.mm

Issue 9618021: Infrastructure to improve app mode stub <-> Chrome main communication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/mac/app_mode_common.mm
diff --git a/chrome/common/mac/app_mode_common.mm b/chrome/common/mac/app_mode_common.mm
index c6d557330e6fc4f30212b5ba5dab25cbcdd06352..410cb9345a7ecb88bd00aeecd32249743b52d449 100644
--- a/chrome/common/mac/app_mode_common.mm
+++ b/chrome/common/mac/app_mode_common.mm
@@ -21,6 +21,16 @@ NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL";
NSString* const kShortcutBrowserBundleIDPlaceholder =
@"APP_MODE_BROWSER_BUNDLE_ID";
+static const ChromeAppModeInfo* gAppModeInfo = NULL;
+
+void SetAppModeInfo(const ChromeAppModeInfo* info) {
+ gAppModeInfo = info;
+}
+
+const ChromeAppModeInfo* AppModeInfo() {
+ return gAppModeInfo;
+}
+
ChromeAppModeInfo::ChromeAppModeInfo()
: major_version(0),
minor_version(0),
« chrome/browser/chrome_browser_main.cc ('K') | « chrome/common/mac/app_mode_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698