| 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 3178d6790fcaa10d006f9f0d8b62f4c59ca5b838..d1dccce54e23f644c1bd7fa718e7759a5cf39b78 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_shortcut_worker_win.h"
|
| #include "chrome/browser/web_applications/web_app.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/installer/util/browser_distribution.h"
|
| @@ -548,4 +549,10 @@ base::FilePath GetIconFilePath(const base::FilePath& web_app_path,
|
|
|
| } // namespace internals
|
|
|
| +void UpdateShortcutForTabContents(content::WebContents* web_contents) {
|
| + // UpdateShortcutWorker will delete itself when it's done.
|
| + UpdateShortcutWorker* worker = new UpdateShortcutWorker(web_contents);
|
| + worker->Run();
|
| +}
|
| +
|
| } // namespace web_app
|
|
|