Commit b9127dd8 authored by Santosh Mahto's avatar Santosh Mahto Committed by Gustavo Noronha

Add logs to track crashes for buggy extensions while registering.

parent 4984e848
......@@ -746,6 +746,7 @@ bool CefRegisterExtension(const CefString& extension_name,
CefRefPtr<CefV8Handler> handler) {
// Verify that this method was called on the correct thread.
CEF_REQUIRE_RT_RETURN(false);
LOG(INFO) << "Start registering extension : " << extension_name;
CefV8IsolateManager* isolate_manager = GetIsolateManager();
......@@ -765,6 +766,7 @@ bool CefRegisterExtension(const CefString& extension_name,
new ExtensionWrapper(name->GetString(), code->GetString(), handler.get());
content::RenderThread::Get()->RegisterExtension(wrapper);
LOG(INFO) << "End registering extension : " << extension_name;
return true;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment