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

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 (+blink) 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
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..e3c58d3605bc5f458a1ae432d6c9b47a8f7f4be9 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> GetExtensionBrowserImages(
Yoyo Zhou 2013/04/10 21:44:58 While we're at it, can we give this a better name?
Devlin 2013/04/12 02:17:06 Done.
+ 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

Powered by Google App Engine
This is Rietveld 408576698