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

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

Issue 2980503002: [Extensions][TaskScheduler] Update ActivityLog for scheduling migration (Closed)
Patch Set: . Created 3 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/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 e1fa65b92d5586db185b3784e18d5799d5cacc74..8ebd6a0a950c5bfa4fac7779d67ff481db6351f2 100644
--- a/chrome/browser/extensions/activity_log/activity_log.cc
+++ b/chrome/browser/extensions/activity_log/activity_log.cc
@@ -580,6 +580,7 @@ ActivityLog::ActivityLog(content::BrowserContext* context)
// Check that the right threads exist for logging to the database.
// If not, we shouldn't try to do things that require them.
+ // TODO(devlin): We can clean this up now that we use sequenced task runners.
if (!BrowserThread::IsMessageLoopValid(BrowserThread::DB) ||
!BrowserThread::IsMessageLoopValid(BrowserThread::FILE) ||
!BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
@@ -622,7 +623,9 @@ void ActivityLog::SetDatabasePolicy(
default:
NOTREACHED();
}
+ LOG(WARNING) << "Initing";
database_policy_->Init();
+ LOG(WARNING) << "inited";
database_policy_type_ = policy_type;
}

Powered by Google App Engine
This is Rietveld 408576698