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