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

Unified Diff: chrome/renderer/extensions/schema_generated_bindings.cc

Issue 9791011: Add experimental.alarms API to allow lazy background pages to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/schema_generated_bindings.cc
diff --git a/chrome/renderer/extensions/schema_generated_bindings.cc b/chrome/renderer/extensions/schema_generated_bindings.cc
index c9fad71b9ed87af2541428bfc98b5f0e6a090ce1..c3229a589c2a95c00ca5bb24e9ae671e62734dff 100644
--- a/chrome/renderer/extensions/schema_generated_bindings.cc
+++ b/chrome/renderer/extensions/schema_generated_bindings.cc
@@ -143,7 +143,8 @@ class ExtensionImpl : public ChromeV8Extension {
const std::set<std::string>& function_names =
v8_extension->extension_dispatcher_->function_names();
if (function_names.find(name) == function_names.end()) {
- NOTREACHED() << "Unexpected function " << name;
+ NOTREACHED() << "Unexpected function " << name <<
+ ". Did you remember to register it with ExtensionFunctionRegistry?";
return v8::Undefined();
}
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698