Index: chrome/browser/extensions/extension_event_router.cc |
diff --git a/chrome/browser/extensions/extension_event_router.cc b/chrome/browser/extensions/extension_event_router.cc |
index fcfe551d32c2cfca28f922c7e7b16c01996f6ca8..61e7b017d33e9193ef7c1579c9746141382a0e9e 100644 |
--- a/chrome/browser/extensions/extension_event_router.cc |
+++ b/chrome/browser/extensions/extension_event_router.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/extensions/extension_event_router.h" |
+#include "base/json/json_writer.h" |
#include "base/values.h" |
#include "chrome/browser/extensions/extension_devtools_manager.h" |
#include "chrome/browser/extensions/extension_processes_api.h" |
@@ -17,6 +18,7 @@ |
#include "content/browser/child_process_security_policy.h" |
#include "content/browser/renderer_host/render_process_host.h" |
#include "content/common/notification_service.h" |
+#include "chrome/browser/extensions/extension_event_names.h" |
namespace { |
@@ -78,6 +80,7 @@ void ExtensionEventRouter::AddEventListener( |
const std::string& event_name, |
RenderProcessHost* process, |
const std::string& extension_id) { |
+ DVLOG(1) << __PRETTY_FUNCTION__ << " " << event_name << " " << process << " " << extension_id; |
EventListener listener(process, extension_id); |
DCHECK_EQ(listeners_[event_name].count(listener), 0u) << event_name; |
listeners_[event_name].insert(listener); |
@@ -175,6 +178,7 @@ void ExtensionEventRouter::DispatchEventImpl( |
Profile* restrict_to_profile, |
const std::string& cross_incognito_args, |
const GURL& event_url) { |
+ DVLOG(1) << __PRETTY_FUNCTION__ << " " << event_name << " " << event_args << " " << event_url << " " << extension_id; |
if (!profile_) |
return; |