Index: chrome/browser/web_applications/web_app_win.h |
diff --git a/chrome/browser/web_applications/web_app_win.h b/chrome/browser/web_applications/web_app_win.h |
index 6b2cf5b2dc7b6c4bd2d9e1e2d95fa633cbc4b121..915e39385d81e091e08c22c99b129d9980dc4a3f 100644 |
--- a/chrome/browser/web_applications/web_app_win.h |
+++ b/chrome/browser/web_applications/web_app_win.h |
@@ -8,6 +8,10 @@ |
#include "base/files/file_path.h" |
#include "chrome/browser/shell_integration.h" |
+namespace content { |
+class WebContents; |
+} |
+ |
namespace gfx { |
class ImageFamily; |
} |
@@ -27,6 +31,13 @@ bool CheckAndSaveIcon(const base::FilePath& icon_file, |
} // namespace internals |
+// Updates web app shortcut of the WebContents. This function checks and |
+// updates web app icon and shortcuts if needed. For icon, the check is based |
+// on MD5 hash of icon image. For shortcuts, it checks the desktop, start menu |
+// and quick launch (as well as pinned shortcut) for shortcut and only |
+// updates (recreates) them if they exits. |
+void UpdateShortcutForTabContents(content::WebContents* web_contents); |
+ |
} // namespace web_app |
#endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ |