Refer to https://code.google.com/p/chromium/codesearch#chromium/src/chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc, there is no DCHECK in chrome code, I'd rather follow that. Okay with you?