Chromium Code Reviews| Index: chrome/browser/web_applications/web_app_win.cc |
| diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc |
| index d1dccce54e23f644c1bd7fa718e7759a5cf39b78..b4785ee6352f5149c4f895309d8456061c39f5b2 100644 |
| --- a/chrome/browser/web_applications/web_app_win.cc |
| +++ b/chrome/browser/web_applications/web_app_win.cc |
| @@ -17,6 +17,7 @@ |
| #include "base/strings/utf_string_conversions.h" |
| #include "base/win/shortcut.h" |
| #include "base/win/windows_version.h" |
| +#include "chrome/browser/web_applications/update_relaunch_details_worker_win.h" |
| #include "chrome/browser/web_applications/update_shortcut_worker_win.h" |
| #include "chrome/browser/web_applications/web_app.h" |
| #include "chrome/common/chrome_switches.h" |
| @@ -353,6 +354,15 @@ base::FilePath CreateShortcutInWebAppDir( |
| return web_app_dir_shortcut; |
| } |
| +void UpdateRelaunchDetailsForApp(Profile* profile, |
| + const extensions::Extension* extension, |
| + HWND hwnd) { |
| + // The worker will delete itself on completion. |
| + UpdateRelaunchDetailsWorker* worker = |
|
jackhou1
2014/04/29 08:50:18
You can
new UpdateRelaunchDetailsWorker(profile, e
calamity
2014/05/19 06:11:54
No longer applicable.
|
| + new UpdateRelaunchDetailsWorker(profile, extension, hwnd); |
| + worker->Run(); |
| +} |
| + |
| namespace internals { |
| // Saves |image| to |icon_file| if the file is outdated and refresh shell's |