| 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 const char kAppShimSocketName[] = "App Shim Socket"; | 9 const char kAppShimSocketName[] = "App Shim Socket"; |
| 10 | 10 |
| 11 const char kAppListModeId[] = "app_list"; |
| 12 |
| 11 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier"; | 13 NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier"; |
| 12 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; | 14 NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID"; |
| 13 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; | 15 NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName"; |
| 14 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; | 16 NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL"; |
| 15 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir"; | 17 NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir"; |
| 16 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir"; | 18 NSString* const kCrAppModeProfileDirKey = @"CrAppModeProfileDir"; |
| 17 | 19 |
| 18 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; | 20 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; |
| 19 | 21 |
| 20 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; | 22 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; |
| 21 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; | 23 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; |
| 22 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; | 24 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; |
| 23 NSString* const kShortcutBrowserBundleIDPlaceholder = | 25 NSString* const kShortcutBrowserBundleIDPlaceholder = |
| 24 @"APP_MODE_BROWSER_BUNDLE_ID"; | 26 @"APP_MODE_BROWSER_BUNDLE_ID"; |
| 25 | 27 |
| 26 ChromeAppModeInfo::ChromeAppModeInfo() | 28 ChromeAppModeInfo::ChromeAppModeInfo() |
| 27 : major_version(0), | 29 : major_version(0), |
| 28 minor_version(0), | 30 minor_version(0), |
| 29 argc(0), | 31 argc(0), |
| 30 argv(0) { | 32 argv(0) { |
| 31 } | 33 } |
| 32 | 34 |
| 33 ChromeAppModeInfo::~ChromeAppModeInfo() { | 35 ChromeAppModeInfo::~ChromeAppModeInfo() { |
| 34 } | 36 } |
| 35 | 37 |
| 36 } // namespace app_mode | 38 } // namespace app_mode |
| OLD | NEW |