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

Unified Diff: chrome/browser/extensions/extension_event_router.cc

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased Created 9 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: 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;
« no previous file with comments | « chrome/browser/extensions/extension_event_names.cc ('k') | chrome/browser/extensions/extension_function_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698