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

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

Issue 16759002: Disable Activity Log in non-AL browser tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0d458fc5806b1db3b5a6559ad00ca38db12e5d2b..64e03d856c34f02733e3c7ed9bab06a0564d044d 100644
--- a/chrome/browser/extensions/activity_log/activity_log.cc
+++ b/chrome/browser/extensions/activity_log/activity_log.cc
@@ -190,13 +190,14 @@ bool ActivityLog::IsLogEnabled() {
if (!has_threads_) return false;
tracker_ = InstallTrackerFactory::GetForProfile(profile_);
tracker_->AddObserver(this);
- const ExtensionService* extension_service =
+ // TODO(felt): Fix this.
+ /*const ExtensionService* extension_service =
ExtensionSystem::Get(profile_)->extension_service();
if (extension_service->IsExtensionEnabled(
kActivityLogExtensionId)) {
enabled_ = true;
LogIsEnabled::GetInstance()->SetProfileEnabled(true);
- }
+ }*/
first_time_checking_ = false;
return enabled_;
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/activity_log_private/activity_log_private_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698