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

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

Issue 9374009: Install platform apps into a separate data directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove duplicate extension 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
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 kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; 10 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID";
11 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; 11 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName";
12 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; 12 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL";
13 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir"; 13 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir";
14 NSString* const kCrAppModeExtensionPathKey = @"CrAppModeExtensionPath";
14 15
15 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; 16 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath";
16 17
17 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; 18 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID";
18 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; 19 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME";
19 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; 20 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL";
20 NSString* const kShortcutBrowserBundleIDPlaceholder = 21 NSString* const kShortcutBrowserBundleIDPlaceholder =
21 @"APP_MODE_BROWSER_BUNDLE_ID"; 22 @"APP_MODE_BROWSER_BUNDLE_ID";
22 23
23 ChromeAppModeInfo::ChromeAppModeInfo() 24 ChromeAppModeInfo::ChromeAppModeInfo()
24 : major_version(0), 25 : major_version(0),
25 minor_version(0), 26 minor_version(0),
26 argc(0), 27 argc(0),
27 argv(0) { 28 argv(0) {
28 } 29 }
29 30
30 ChromeAppModeInfo::~ChromeAppModeInfo() { 31 ChromeAppModeInfo::~ChromeAppModeInfo() {
31 } 32 }
32 33
33 } // namespace app_mode 34 } // namespace app_mode
OLDNEW
« chrome/app/chrome_main_app_mode_mac.mm ('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