Chromium Code Reviews| 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 89f6e04d7328ac0dbebc23ab1681dbc558f2d0a9..1aed4d23d2c22f7a1f760cecbf4af9dc4df490c8 100644 |
| --- a/chrome/browser/web_applications/web_app_mac.mm |
| +++ b/chrome/browser/web_applications/web_app_mac.mm |
| @@ -1141,6 +1141,16 @@ void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { |
| } |
| } |
| +void RevealAppShimInFinderForApp( |
| + Profile* profile, |
| + const base::FilePath& app_data_path) { |
| + web_app::ShortcutInfo shortcut_info = |
| + BuildShortcutInfoFromBundle(app_data_path); |
|
jackhou1
2014/12/03 05:12:05
BuildShortcutInfoFromBundle actually reads the bun
mitchellj
2014/12/04 04:53:53
Done. When using web_app::ShortcutInfoForExtension
|
| + web_app::WebAppShortcutCreator shortcut_creator( |
| + app_data_path, shortcut_info, extensions::FileHandlersInfo()); |
| + shortcut_creator.RevealAppShimInFinder(); |
| +} |
| + |
| } // namespace internals |
| } // namespace web_app |