OLD | NEW |
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 |
OLD | NEW |