Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3437)

Unified Diff: chrome/common/extensions/extension_file_util.h

Issue 13473013: Move ThemeHandler from c/c/e/api; move GetBrowserImages() out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4ff47cc7b0b274517cc5f7d402c7db7e59ea6e17..b7ae26237f91e968541e1a39736b2ee9f35b2df1 100644
--- a/chrome/common/extensions/extension_file_util.h
+++ b/chrome/common/extensions/extension_file_util.h
@@ -82,8 +82,16 @@ bool ValidateExtension(const extensions::Extension* extension,
std::string* error,
std::vector<extensions::InstallWarning>* warnings);
+// Returns a list of paths (relative to the extension dir) for images that
+// the browser might load (like themes and page action icons) for the given
+// extension.
+std::set<base::FilePath> GetBrowserImagePaths(
+ const extensions::Extension* extension);
+
+
// Returns a list of files that contain private keys inside |extension_dir|.
-std::vector<base::FilePath> FindPrivateKeyFiles(const base::FilePath& extension_dir);
+std::vector<base::FilePath> FindPrivateKeyFiles(
+ const base::FilePath& extension_dir);
// 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
« no previous file with comments | « chrome/common/extensions/extension.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698