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

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

Issue 23729005: Enable Activity Logging by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added definition of 'active' Created 7 years, 4 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/event_router.cc
diff --git a/chrome/browser/extensions/event_router.cc b/chrome/browser/extensions/event_router.cc
index be3c35db09c82f660b52060e8e0d8398b0f9908e..27e51e918852a0770f50025d85870061803ce46f 100644
--- a/chrome/browser/extensions/event_router.cc
+++ b/chrome/browser/extensions/event_router.cc
@@ -124,10 +124,8 @@ void EventRouter::DispatchExtensionMessage(IPC::Sender* ipc_sender,
ListValue* event_args,
UserGestureState user_gesture,
const EventFilteringInfo& info) {
- if (ActivityLog::IsLogEnabledOnAnyProfile()) {
- LogExtensionEventMessage(profile_id, extension_id, event_name,
- scoped_ptr<ListValue>(event_args->DeepCopy()));
- }
+ LogExtensionEventMessage(profile_id, extension_id, event_name,
+ scoped_ptr<ListValue>(event_args->DeepCopy()));
ListValue args;
args.Set(0, new base::StringValue(event_name));

Powered by Google App Engine
This is Rietveld 408576698