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 cef73dffffc82d8e03c11d09e2b114328bcf1d8a..7a78b3212b94912ab84c15831de400aa331d833c 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" |
@@ -535,4 +536,10 @@ std::vector<base::FilePath> GetShortcutPaths( |
} // 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 |