summaryrefslogtreecommitdiffstats
path: root/chrome/app/app_mode_loader_mac.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/app/app_mode_loader_mac.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/app/app_mode_loader_mac.mm')
-rw-r--r--chrome/app/app_mode_loader_mac.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/app/app_mode_loader_mac.mm b/chrome/app/app_mode_loader_mac.mm
index a691b15..e8242f0 100644
--- a/chrome/app/app_mode_loader_mac.mm
+++ b/chrome/app/app_mode_loader_mac.mm
@@ -86,9 +86,6 @@ void LoadFramework(void** cr_dylib, app_mode::ChromeAppModeInfo* info) {
[info_plist objectForKey:app_mode::kCrAppModeShortcutIDKey]);
CHECK(info->app_mode_id.size()) << "couldn't get app shortcut ID";
- info->app_mode_short_name = SysNSStringToUTF16(
- [info_plist objectForKey:app_mode::kCrAppModeShortcutShortNameKey]);
-
info->app_mode_name = SysNSStringToUTF16(
[info_plist objectForKey:app_mode::kCrAppModeShortcutNameKey]);