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

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

Issue 9416012: Mac: Generate App Mode Loader bundle + cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments Created 8 years, 10 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
« chrome/chrome.gyp ('K') | « chrome/common/mac/app_mode_common.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier"; 9 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier";
10 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath";
11 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; 10 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID";
12 NSString* const kCrAppModeShortcutShortNameKey = @"CrAppModeShortcutShortName"; 11 NSString* const kCrAppModeShortcutShortNameKey = @"CrAppModeShortcutShortName";
13 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; 12 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName";
14 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; 13 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL";
15 14
15 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath";
16
17 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID";
18
16 ChromeAppModeInfo::ChromeAppModeInfo() 19 ChromeAppModeInfo::ChromeAppModeInfo()
17 : major_version(0), 20 : major_version(0),
18 minor_version(0), 21 minor_version(0),
19 argc(0), 22 argc(0),
20 argv(0) { 23 argv(0) {
21 } 24 }
22 25
23 ChromeAppModeInfo::~ChromeAppModeInfo() { 26 ChromeAppModeInfo::~ChromeAppModeInfo() {
24 } 27 }
25 28
26 } // namespace app_mode 29 } // namespace app_mode
OLDNEW
« chrome/chrome.gyp ('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