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

Unified Diff: chrome/common/extensions/api/extension_action/script_badge_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/api/extension_action/script_badge_handler.h
diff --git a/chrome/common/extensions/api/extension_action/script_badge_handler.h b/chrome/common/extensions/api/extension_action/script_badge_handler.h
index d539aafc693339c97d09b15559eb86cba0d8000f..cd742bc03c14b77051d14a0808ef325f6ab1e5dc 100644
--- a/chrome/common/extensions/api/extension_action/script_badge_handler.h
+++ b/chrome/common/extensions/api/extension_action/script_badge_handler.h
@@ -20,8 +20,8 @@ class ScriptBadgeHandler : public ManifestHandler {
virtual ~ScriptBadgeHandler();
virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
- virtual const std::vector<std::string>& PrerequisiteKeys() OVERRIDE;
- virtual bool AlwaysParseForType(Manifest::Type type) OVERRIDE;
+ virtual const std::vector<std::string> PrerequisiteKeys() const OVERRIDE;
+ virtual bool AlwaysParseForType(Manifest::Type type) const OVERRIDE;
private:
// Sets the fields of ActionInfo to the default values, matching the parent
@@ -29,7 +29,7 @@ class ScriptBadgeHandler : public ManifestHandler {
// is present in the manifest.
void SetActionInfoDefaults(const Extension* extension, ActionInfo* info);
- std::vector<std::string> prerequisite_keys_;
+ virtual const std::vector<std::string> Keys() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ScriptBadgeHandler);
};

Powered by Google App Engine
This is Rietveld 408576698