Index: chrome/browser/extensions/activity_log/activity_log.cc |
diff --git a/chrome/browser/extensions/activity_log/activity_log.cc b/chrome/browser/extensions/activity_log/activity_log.cc |
index b2980e67733fa93d4cd631dd37fed26fc7db268f..7fc3a4d17148d224e48ff6c5888f434d09bb05a5 100644 |
--- a/chrome/browser/extensions/activity_log/activity_log.cc |
+++ b/chrome/browser/extensions/activity_log/activity_log.cc |
@@ -59,9 +59,7 @@ class LogIsEnabled { |
void ComputeIsEnabled() { |
enabled_ = CommandLine::ForCurrentProcess()-> |
- HasSwitch(switches::kEnableExtensionActivityLogging) || |
- CommandLine::ForCurrentProcess()-> |
- HasSwitch(switches::kEnableExtensionActivityUI); |
+ HasSwitch(switches::kEnableExtensionActivityLogging); |
} |
static LogIsEnabled* GetInstance() { |
@@ -146,8 +144,6 @@ ActivityLog::ActivityLog(Profile* profile) : profile_(profile) { |
// enable-extension-activity-logging and enable-extension-activity-ui |
log_activity_to_stdout_ = CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kEnableExtensionActivityLogging); |
- log_activity_to_ui_ = CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableExtensionActivityUI); |
// enable-extension-activity-log-testing |
// This controls whether arguments are collected. |