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

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

Issue 501303002: [Mac] Make app shims load the same framework version as the running Chrome process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment. Created 6 years, 4 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.h
diff --git a/chrome/common/mac/app_mode_common.h b/chrome/common/mac/app_mode_common.h
index 709e8cd96442b1d04c4f05196094b435046f397c..7759293d25a1c891d772e3901266cec51989c31f 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -29,6 +29,10 @@ extern const char kAppShimSocketShortName[];
// user data dir with this name.
extern const char kAppShimSocketSymlinkName[];
+// A symlink used to store the version string of the currently running Chrome.
+// The shim will read this to determine which version of the framework to load.
+extern const char kAppShimVersionSymlinkName[];
+
// Special app mode id used for the App Launcher.
extern const char kAppListModeId[];
@@ -105,7 +109,7 @@ extern NSString* const kShortcutBrowserBundleIDPlaceholder;
// Current major/minor version numbers of |ChromeAppModeInfo| (defined below).
const unsigned kCurrentChromeAppModeInfoMajorVersion = 1;
-const unsigned kCurrentChromeAppModeInfoMinorVersion = 2;
+const unsigned kCurrentChromeAppModeInfoMinorVersion = 3;
// The structure used to pass information from the app mode loader to the
// (browser) framework. This is versioned using major and minor version numbers,

Powered by Google App Engine
This is Rietveld 408576698