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

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

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/manifest_handler.h
diff --git a/chrome/common/extensions/manifest_handler.h b/chrome/common/extensions/manifest_handler.h
index 63380c7c4fed07bdf92c8039d491ecfb6789e422..45dce42f687b30df803681e6687b7fc82ca98714 100644
--- a/chrome/common/extensions/manifest_handler.h
+++ b/chrome/common/extensions/manifest_handler.h
@@ -31,12 +31,12 @@ class ManifestHandler {
// are present. This allows specifying a default parsed value for
// extensions that don't declare our key in the manifest.
// TODO(yoz): Use Feature availability instead.
- virtual bool AlwaysParseForType(Manifest::Type type);
+ virtual bool AlwaysParseForType(Manifest::Type type) const;
// The list of keys that, if present, should be parsed before calling our
// Parse (typically, because our Parse needs to read those keys).
// Defaults to empty.
- virtual const std::vector<std::string>& PrerequisiteKeys();
+ virtual const std::vector<std::string>& PrerequisiteKeys() const;
// Associate |handler| with |key| in the manifest. A handler can register
// for multiple keys. The global registry takes ownership of |handler|;

Powered by Google App Engine
This is Rietveld 408576698