Index: chrome/common/extensions/extension_file_util.h |
diff --git a/chrome/common/extensions/extension_file_util.h b/chrome/common/extensions/extension_file_util.h |
index 1ab3f07678dbcdb6878df314410ee1d26e1a4a5e..4771fc4c4dd6e9a9dee5c42b1b0b93810d3cf3a8 100644 |
--- a/chrome/common/extensions/extension_file_util.h |
+++ b/chrome/common/extensions/extension_file_util.h |
@@ -62,19 +62,6 @@ base::DictionaryValue* LoadManifest(const FilePath& extension_root, |
// Otherwise, a description of the error is returned in |error|. |
bool ValidateExtension(const Extension* extension, std::string* error); |
-// Cleans up the extension install directory. It can end up with garbage in it |
-// if extensions can't initially be removed when they are uninstalled (eg if a |
-// file is in use). |
-// |
-// |extensions_dir| is the install directory to look in. |extension_paths| is a |
-// map from extension id to full installation path. |
-// |
-// Obsolete version directories are removed, as are directories that aren't |
-// found in |extension_paths|. |
-void GarbageCollectExtensions( |
- const FilePath& extensions_dir, |
- const std::map<std::string, FilePath>& extension_paths); |
- |
// Loads extension message catalogs and returns message bundle. |
// Returns NULL on error, or if extension is not localized. |
ExtensionMessageBundle* LoadExtensionMessageBundle( |