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

Side by Side Diff: chrome/common/mac/app_mode_common.mm

Issue 22903025: Send Chrome's process id to the app shim. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix order in app_mode_common Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/mac/app_mode_common.h" 5 #include "chrome/common/mac/app_mode_common.h"
6 6
7 namespace app_mode { 7 namespace app_mode {
8 8
9 const char kAppShimSocketName[] = "App Shim Socket"; 9 const char kAppShimSocketName[] = "App Shim Socket";
10 10
11 const char kAppListModeId[] = "app_list"; 11 const char kAppListModeId[] = "app_list";
12 12
13 const char kChromeProcessId[] = "chrome-process-id";
14
13 const char kNoLaunchApp[] = "no-launch-app"; 15 const char kNoLaunchApp[] = "no-launch-app";
14 16
15 NSString* const kCFBundleDisplayNameKey = @"CFBundleDisplayName"; 17 NSString* const kCFBundleDisplayNameKey = @"CFBundleDisplayName";
16 NSString* const kLSHasLocalizedDisplayNameKey = @"LSHasLocalizedDisplayName"; 18 NSString* const kLSHasLocalizedDisplayNameKey = @"LSHasLocalizedDisplayName";
17 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier"; 19 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier";
18 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; 20 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID";
19 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; 21 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName";
20 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; 22 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL";
21 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir"; 23 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir";
22 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir"; 24 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir";
(...skipping 11 matching lines...) Expand all
34 : major_version(0), 36 : major_version(0),
35 minor_version(0), 37 minor_version(0),
36 argc(0), 38 argc(0),
37 argv(0) { 39 argv(0) {
38 } 40 }
39 41
40 ChromeAppModeInfo::~ChromeAppModeInfo() { 42 ChromeAppModeInfo::~ChromeAppModeInfo() {
41 } 43 }
42 44
43 } // namespace app_mode 45 } // namespace app_mode
OLDNEW
« chrome/common/mac/app_mode_common.h ('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