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 253c88fc0b71b0883a50289acb8f2b6c3ee1e35f..bcd445a527e1a7542f89db10bd85376a9b2101d9 100644 |
--- a/chrome/browser/web_applications/web_app.h |
+++ b/chrome/browser/web_applications/web_app.h |
@@ -54,6 +54,11 @@ void CreateShortcut( |
const FilePath& profile_path, |
const ShellIntegration::ShortcutInfo& shortcut_info); |
+// Delete all the shortcuts that have been created for the extension with |
+// |extension_id| in the profile with |profile_path|. |
+void DeleteAllShortcuts(const FilePath& profile_path, |
+ const std::string& extension_id); |
+ |
// Creates a shortcut. Must be called on the file thread. This is used to |
// implement CreateShortcut() above, and can also be used directly from the |
// file thread. |profile_path| is the path of the creating profile. |
@@ -97,6 +102,12 @@ bool CreatePlatformShortcut( |
const FilePath& profile_path, |
const ShellIntegration::ShortcutInfo& shortcut_info); |
+// Delete all the shortcuts we have added for this extension. This is the |
+// platform specific implementation of the DeleteAllShortcuts function, and |
+// is executed on the FILE thread.. |
+void DeletePlatformShortcuts(const FilePath& profile_path, |
+ const std::string& extension_id); |
+ |
// Sanitizes |name| and returns a version of it that is safe to use as an |
// on-disk file name . |
FilePath GetSanitizedFileName(const string16& name); |