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

Unified Diff: chrome/common/extensions/api/extension_api.cc

Issue 9969087: Switch platform apps from a declarative launch container to handling an onLaunched event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review Created 8 years, 8 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_api.cc
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc
index 2615d437844c99dd49dd5af53801a793706df537..2953a35828bb4aeb02eef45a57bb8a1f9d839273 100644
--- a/chrome/common/extensions/api/extension_api.cc
+++ b/chrome/common/extensions/api/extension_api.cc
@@ -62,8 +62,8 @@ scoped_ptr<ListValue> LoadSchemaList(const base::StringPiece& schema) {
false, // allow trailing commas
NULL, // error code
&error_message));
- CHECK(result.get()) << error_message;
- CHECK(result->IsType(Value::TYPE_LIST));
+ CHECK(result.get()) << error_message << " for schema " << schema;
+ CHECK(result->IsType(Value::TYPE_LIST)) << " for schema " << schema;
return scoped_ptr<ListValue>(static_cast<ListValue*>(result.release()));
}

Powered by Google App Engine
This is Rietveld 408576698