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

Unified Diff: chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc

Issue 2918403009: [Dice] Parse the Dice response header (Closed)
Patch Set: rebase Created 3 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
Index: chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
index 57fd85caa950166ca0ce15a16bb28b99cf48b3e3..3ebbe67499f10ff3898ada7c4bc3273c413666af 100644
--- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
@@ -844,6 +844,9 @@ void ChromeResourceDispatcherHostDelegate::OnRequestRedirected(
// native profile management UI is built on top of it.
signin::FixAccountConsistencyRequestHeader(
request, redirect_url, io_data, info->GetChildID(), info->GetRouteID());
+#if !defined(OS_IOS) && !defined(OS_ANDROID)
+ signin::ProcessDiceResponseHeaderIfExists(request, io_data);
msarda 2017/06/12 11:52:21 It looks like the Mirror response header (ManageAc
droger 2017/06/12 12:39:14 The Dice header is only seen on redirects currentl
msarda 2017/06/12 14:03:42 I think we're basically adding too much logic for
droger 2017/06/12 16:12:58 I understand. I merged the Dice and Mirror functio
+#endif
if (io_data->loading_predictor_observer()) {
io_data->loading_predictor_observer()->OnRequestRedirected(
« no previous file with comments | « no previous file | chrome/browser/signin/chrome_signin_helper.h » ('j') | chrome/browser/signin/chrome_signin_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698