Index: chrome/browser/web_applications/web_app.h |
diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h |
index 9b2cef7bf83a67add897669b8d0d44797ca4c9b3..edef22647cbfd9e0cea013a47d968e3ac18daff5 100644 |
--- a/chrome/browser/web_applications/web_app.h |
+++ b/chrome/browser/web_applications/web_app.h |
@@ -172,6 +172,9 @@ void UpdateAllShortcuts(const base::string16& old_app_title, |
Profile* profile, |
const extensions::Extension* app); |
+// Updates shortcuts for all apps in this profile. |
+void UpdateShortcutsForAllApps(Profile* profile); |
+ |
// Returns true if given url is a valid web app url. |
bool IsValidUrl(const GURL& url); |
@@ -238,6 +241,10 @@ void UpdatePlatformShortcuts( |
// This is executed on the FILE thread. |
void DeleteAllShortcutsForProfile(const base::FilePath& profile_path); |
+// Checks all shortcuts for a profile and deletes/updates them as necessary. |
+void UpdateShortcutsForAllAppsForProfile(const base::FilePath& profile_path, |
+ const std::set<std::string>& app_ids); |
+ |
// Sanitizes |name| and returns a version of it that is safe to use as an |
// on-disk file name . |
base::FilePath GetSanitizedFileName(const base::string16& name); |