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

Unified Diff: chrome/browser/budget_service/budget_manager_factory.cc

Issue 2272563005: Start plumbing connections from the BudgetManager to the BudgetDatabase (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the task runner Created 4 years, 3 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/budget_service/budget_manager_factory.cc
diff --git a/chrome/browser/budget_service/budget_manager_factory.cc b/chrome/browser/budget_service/budget_manager_factory.cc
index 9d89d223187e27eb489b62d2e18ec0996b706cb9..9b079d877e2c0ab5ea7ee104a0889c1348ade0d9 100644
--- a/chrome/browser/budget_service/budget_manager_factory.cc
+++ b/chrome/browser/budget_service/budget_manager_factory.cc
@@ -37,5 +37,6 @@ BudgetManagerFactory::BudgetManagerFactory()
KeyedService* BudgetManagerFactory::BuildServiceInstanceFor(
content::BrowserContext* profile) const {
+ DCHECK(profile);
return new BudgetManager(static_cast<Profile*>(profile));
}
« no previous file with comments | « chrome/browser/budget_service/budget_manager.cc ('k') | chrome/browser/budget_service/budget_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698