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

Unified Diff: chrome/browser/net/net_error_tab_helper.cc

Issue 2522073002: [OfflinePages] RequestCoordinatorFactory return null for incognito (Closed)
Patch Set: Merge Created 4 years 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 | « chrome/browser/android/offline_pages/request_coordinator_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_error_tab_helper.cc
diff --git a/chrome/browser/net/net_error_tab_helper.cc b/chrome/browser/net/net_error_tab_helper.cc
index 823d96fd9a59b8d287529321bd40321bb0be47ea..8015b770b916241f3599cd5e710657c35e44ebdf 100644
--- a/chrome/browser/net/net_error_tab_helper.cc
+++ b/chrome/browser/net/net_error_tab_helper.cc
@@ -281,6 +281,7 @@ void NetErrorTabHelper::DownloadPageLaterHelper(const GURL& page_url) {
offline_pages::RequestCoordinator* request_coordinator =
offline_pages::RequestCoordinatorFactory::GetForBrowserContext(
web_contents()->GetBrowserContext());
+ DCHECK(request_coordinator) << "No RequestCoordinator for SavePageLater";
offline_pages::ClientId client_id(
offline_pages::kAsyncNamespace, base::GenerateGUID());
request_coordinator->SavePageLater(
« no previous file with comments | « chrome/browser/android/offline_pages/request_coordinator_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698