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

Unified Diff: chrome/browser/offline_items_collection/offline_content_aggregator_factory.cc

Issue 2777063008: Connect BackgroundFetch to the OfflineItemCollection
Patch Set: Fixed incognito check and added tests Created 3 years, 8 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/offline_items_collection/offline_content_aggregator_factory.cc
diff --git a/chrome/browser/offline_items_collection/offline_content_aggregator_factory.cc b/chrome/browser/offline_items_collection/offline_content_aggregator_factory.cc
index 398846e73fa926421e7f5b5416271bdcab085e13..3ab137d9d513dc4f6f71fdc69c27bb99f3421e8f 100644
--- a/chrome/browser/offline_items_collection/offline_content_aggregator_factory.cc
+++ b/chrome/browser/offline_items_collection/offline_content_aggregator_factory.cc
@@ -21,7 +21,6 @@ OfflineContentAggregatorFactory::GetInstance() {
// static
OfflineContentAggregator* OfflineContentAggregatorFactory::GetForBrowserContext(
content::BrowserContext* context) {
- DCHECK(!context->IsOffTheRecord());
return static_cast<offline_items_collection::OfflineContentAggregator*>(
GetInstance()->GetServiceForBrowserContext(context, true));
}

Powered by Google App Engine
This is Rietveld 408576698