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

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

Issue 15812004: Remove the Activity Log UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/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.
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/extensions/activity_log/activity_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698