| 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 | 14 |
| 14 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; | 15 NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath"; |
| 15 | 16 |
| 16 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; | 17 NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID"; |
| 17 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; | 18 NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME"; |
| 18 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; | 19 NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL"; |
| 19 NSString* const kShortcutBrowserBundleIDPlaceholder = | 20 NSString* const kShortcutBrowserBundleIDPlaceholder = |
| 20 @"APP_MODE_BROWSER_BUNDLE_ID"; | 21 @"APP_MODE_BROWSER_BUNDLE_ID"; |
| 21 | 22 |
| 22 ChromeAppModeInfo::ChromeAppModeInfo() | 23 ChromeAppModeInfo::ChromeAppModeInfo() |
| 23 : major_version(0), | 24 : major_version(0), |
| 24 minor_version(0), | 25 minor_version(0), |
| 25 argc(0), | 26 argc(0), |
| 26 argv(0) { | 27 argv(0) { |
| 27 } | 28 } |
| 28 | 29 |
| 29 ChromeAppModeInfo::~ChromeAppModeInfo() { | 30 ChromeAppModeInfo::~ChromeAppModeInfo() { |
| 30 } | 31 } |
| 31 | 32 |
| 32 } // namespace app_mode | 33 } // namespace app_mode |
| OLD | NEW |