Index: chrome/browser/web_applications/web_app_mac.mm |
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm |
index 9cc19313a94815e438bc09876526a4bb7c9a63f8..e5a5ea4cb637f5cc5953df175dae2c4f09d8f87f 100644 |
--- a/chrome/browser/web_applications/web_app_mac.mm |
+++ b/chrome/browser/web_applications/web_app_mac.mm |
@@ -248,14 +248,15 @@ void WebAppShortcutCreator::RevealGeneratedBundleInFinder( |
namespace web_app { |
namespace internals { |
-void CreateShortcutTask(const FilePath& web_app_path, |
- const FilePath& profile_path, |
- const ShellIntegration::ShortcutInfo& shortcut_info) { |
+bool CreatePlatformShortcut( |
+ const FilePath& web_app_path, |
+ const FilePath& profile_path, |
+ const ShellIntegration::ShortcutInfo& shortcut_info) { |
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
string16 bundle_id = UTF8ToUTF16(base::mac::BaseBundleID()); |
WebAppShortcutCreator shortcut_creator(web_app_path, shortcut_info, |
bundle_id); |
- shortcut_creator.CreateShortcut(); |
+ return shortcut_creator.CreateShortcut(); |
} |
} // namespace internals |