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

Unified Diff: ppapi/proxy/plugin_dispatcher.cc

Issue 10795051: Implement asynchronous interface/plumbing for GetDefaultPrintSettings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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: ppapi/proxy/plugin_dispatcher.cc
diff --git a/ppapi/proxy/plugin_dispatcher.cc b/ppapi/proxy/plugin_dispatcher.cc
index 931471354e3e14239a534b3dde3bbd01c7876aa4..af1dee8e22818b33945a15ace83a3ded2ea4e560 100644
--- a/ppapi/proxy/plugin_dispatcher.cc
+++ b/ppapi/proxy/plugin_dispatcher.cc
@@ -99,6 +99,8 @@ PluginDispatcher* PluginDispatcher::GetForResource(const Resource* resource) {
// static
const void* PluginDispatcher::GetBrowserInterface(const char* interface_name) {
+ DCHECK(interface_name) << "|interface_name| is null. Did you forget to add "
+ "the |interface_name()| template function to the interfaces C++ wrapper?";
dmichael (off chromium) 2012/07/23 18:20:09 nit: interfaces->interface's?
raymes 2012/07/24 00:37:08 Done.
return InterfaceList::GetInstance()->GetInterfaceForPPB(interface_name);
}

Powered by Google App Engine
This is Rietveld 408576698