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

Unified Diff: chrome/common/extensions/api/extension_action/script_badge_handler.h

Issue 12084034: Change manifest handler interface to always (implicitly) pass the entire manifest to handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tts, TODO Created 7 years, 11 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 2691d623f1fd060ddf62f3d189b997c070b5b7c3..90faf9a203d675d517e254597bea0e3248aac67c 100644
--- a/chrome/common/extensions/api/extension_action/script_badge_handler.h
+++ b/chrome/common/extensions/api/extension_action/script_badge_handler.h
@@ -19,11 +19,9 @@ class ScriptBadgeHandler : public ManifestHandler {
ScriptBadgeHandler();
virtual ~ScriptBadgeHandler();
- virtual bool Parse(const base::Value* value,
- Extension* extension,
- string16* error) OVERRIDE;
+ virtual bool Parse(Extension* extension, string16* error) OVERRIDE;
+ virtual bool AlwaysParseForType(Extension::Type type) OVERRIDE;
- virtual bool HasNoKey(Extension* extension, string16* error) OVERRIDE;
private:
// Sets the fields of ActionInfo to the default values, matching the parent
// extension's title and icons. Performed whether or not the script_badge key

Powered by Google App Engine
This is Rietveld 408576698