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

Unified Diff: chrome/common/extensions/extension.cc

Issue 7661009: base: Add Is* functions to Value class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tony review Created 9 years, 4 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/extension.cc
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index 86268cd76bcbf7b9a218826b617db98a4ede7818..b9157b6b52a07d4f2a6dc9ae13257c4937829c0b 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -762,7 +762,7 @@ Extension::FileBrowserHandlerList* Extension::LoadFileBrowserHandlers(
for (ListValue::const_iterator iter = extension_actions->begin();
iter != extension_actions->end();
++iter) {
- if (!(*iter)->IsType(Value::TYPE_DICTIONARY)) {
+ if (!(*iter)->IsDictionary()) {
*error = errors::kInvalidFileBrowserHandler;
return NULL;
}
« no previous file with comments | « chrome/browser/web_resource/promo_resource_service.cc ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698