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

Unified Diff: extensions/common/file_util.h

Issue 295123002: Provide script/gypi support for manifest generation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: extensions/common/file_util.h
diff --git a/extensions/common/file_util.h b/extensions/common/file_util.h
index 32c370ee96bdbb9ed15a31896920bd02812ac2e1..fbf77b299b4f6a71950fa92d12484a4e0171e39d 100644
--- a/extensions/common/file_util.h
+++ b/extensions/common/file_util.h
@@ -61,6 +61,12 @@ scoped_refptr<Extension> LoadExtension(const base::FilePath& extension_root,
base::DictionaryValue* LoadManifest(const base::FilePath& extension_root,
std::string* error);
+// Convenience overload for specifying a manifest filename.
+base::DictionaryValue* LoadManifest(
+ const base::FilePath& extension_root,
+ const base::FilePath::CharType* manifest_filename,
+ std::string* error);
+
// Returns true if the given extension object is valid and consistent.
// May also append a series of warning messages to |warnings|, but they
// should not prevent the extension from running.

Powered by Google App Engine
This is Rietveld 408576698