summaryrefslogtreecommitdiffstats
path: root/chrome/common/mac/app_mode_common.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 12:08:16 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-29 12:08:16 +0000
commit00bbf288f956c321b02c98ba5046c1728b248934 (patch)
tree3aaaee6ca2b24e686ab275c149ec58cb9351cd80 /chrome/common/mac/app_mode_common.mm
parent946d4cb34091f76050d04d0be5c71e3f0bee95da (diff)
downloadchromium_src-00bbf288f956c321b02c98ba5046c1728b248934.zip
chromium_src-00bbf288f956c321b02c98ba5046c1728b248934.tar.gz
chromium_src-00bbf288f956c321b02c98ba5046c1728b248934.tar.bz2
Mac: Enable WebAppShortcutCreatorTest.CreateShortcut unit test
* Mock out code to reveal generated app bundle in Finder. * Change how we fill in the template plist to a variable substitution model. * Clean app_mode-Info.plist to remove unneeded keys. BUG=112651 TEST=WebAppShortcutCreatorTest.CreateShortcut should pass. Review URL: http://codereview.chromium.org/9426030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124174 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/mac/app_mode_common.mm')
-rw-r--r--chrome/common/mac/app_mode_common.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/common/mac/app_mode_common.mm b/chrome/common/mac/app_mode_common.mm
index bb8c267..c6d5573 100644
--- a/chrome/common/mac/app_mode_common.mm
+++ b/chrome/common/mac/app_mode_common.mm
@@ -8,7 +8,6 @@ namespace app_mode {
NSString* const kBrowserBundleIDKey = @"CrBundleIdentifier";
NSString* const kCrAppModeShortcutIDKey = @"CrAppModeShortcutID";
-NSString* const kCrAppModeShortcutShortNameKey = @"CrAppModeShortcutShortName";
NSString* const kCrAppModeShortcutNameKey = @"CrAppModeShortcutName";
NSString* const kCrAppModeShortcutURLKey = @"CrAppModeShortcutURL";
NSString* const kCrAppModeUserDataDirKey = @"CrAppModeUserDataDir";
@@ -17,6 +16,10 @@ NSString* const kCrAppModeExtensionPathKey = @"CrAppModeExtensionPath";
NSString* const kLastRunAppBundlePathPrefsKey = @"LastRunAppBundlePath";
NSString* const kShortcutIdPlaceholder = @"APP_MODE_SHORTCUT_ID";
+NSString* const kShortcutNamePlaceholder = @"APP_MODE_SHORTCUT_NAME";
+NSString* const kShortcutURLPlaceholder = @"APP_MODE_SHORTCUT_URL";
+NSString* const kShortcutBrowserBundleIDPlaceholder =
+ @"APP_MODE_BROWSER_BUNDLE_ID";
ChromeAppModeInfo::ChromeAppModeInfo()
: major_version(0),