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

Unified Diff: chrome/browser/shell_integration.cc

Issue 9618021: Infrastructure to improve app mode stub <-> Chrome main communication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Another approach 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/browser/shell_integration.cc
diff --git a/chrome/browser/shell_integration.cc b/chrome/browser/shell_integration.cc
index c7362d69020eb153a871f827e24c58a55e3eefb3..9c4c6166853874de596af3788d835e2645bd2f89 100644
--- a/chrome/browser/shell_integration.cc
+++ b/chrome/browser/shell_integration.cc
@@ -33,6 +33,18 @@ ShellIntegration::ShortcutInfo::ShortcutInfo()
ShellIntegration::ShortcutInfo::~ShortcutInfo() {}
+static const struct ShellIntegration::AppModeInfo* gAppModeInfo = NULL;
+
+// static
+void ShellIntegration::SetAppModeInfo(const struct AppModeInfo* info) {
+ gAppModeInfo = info;
+}
+
+// static
+const struct ShellIntegration::AppModeInfo* ShellIntegration::AppModeInfo() {
+ return gAppModeInfo;
+}
+
// static
CommandLine ShellIntegration::CommandLineArgsForLauncher(
const GURL& url,

Powered by Google App Engine
This is Rietveld 408576698