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

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

Issue 12623005: [mac] App shims (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: -> _mac Created 7 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
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e4ccb04be9439a13258558b94596e1909ae592b4..7a442da4c6e9a4f7a51a76ac4429cf4eb4b5d095 100644
--- a/chrome/common/mac/app_mode_common.h
+++ b/chrome/common/mac/app_mode_common.h
@@ -15,12 +15,16 @@
namespace app_mode {
-// Keys for a custom 'launch platform app' Apple event. When Chrome receives
-// this event, it should launch the app specified by the direct key in the
-// event, in the profile specified by the 'pdir' key.
+// These are keys for an Apple Event ping that the app shim process sends to
+// Chrome to get confirmation that Chrome is alive. The main Chrome process
+// doesn't need to register any handlers for them -- the event is just sent for
+// the empty reply that's automatically returned by the system.
const AEEventClass kAEChromeAppClass = 'cApp';
-const AEEventID kAEChromeAppLaunch = 'lnch';
-const AEKeyword kAEProfileDirKey = 'pdir';
+const AEEventID kAEChromeAppPing = 'ping';
+
+// The IPC socket used to communicate between app shims and Chrome will be
+// created under the user data directory with this name.
+extern const char kAppShimSocketName[];
// The key under which the browser's bundle ID will be stored in the
// app mode launcher bundle's Info.plist.
« no previous file with comments | « chrome/common/common_message_generator.h ('k') | chrome/common/mac/app_mode_common.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698