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

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

Issue 12618009: Move SystemIndicator parsing out of Extension class (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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.cc
diff --git a/chrome/common/extensions/api/extension_action/script_badge_handler.cc b/chrome/common/extensions/api/extension_action/script_badge_handler.cc
index 851c3b4953f3db32ce4a8b8613932df2e41dcc95..f8e39efa537dee3a83c8ff9ba46c0f259ecd9d50 100644
--- a/chrome/common/extensions/api/extension_action/script_badge_handler.cc
+++ b/chrome/common/extensions/api/extension_action/script_badge_handler.cc
@@ -13,7 +13,6 @@
#include "chrome/common/extensions/extension_manifest_constants.h"
#include "chrome/common/extensions/feature_switch.h"
#include "chrome/common/extensions/manifest.h"
-#include "chrome/common/extensions/manifest_handler_helpers.h"
#include "extensions/common/install_warning.h"
namespace errors = extension_manifest_errors;
@@ -56,8 +55,7 @@ bool ScriptBadgeHandler::Parse(Extension* extension, string16* error) {
return false;
}
- action_info =
- manifest_handler_helpers::LoadActionInfo(extension, dict, error);
+ action_info = ActionInfo::Load(extension, dict, error);
if (!action_info.get())
return false; // Failed to parse script badge definition.

Powered by Google App Engine
This is Rietveld 408576698