| 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 5258d872d28bf31a91301a07f2f626c1dea94334..42a55686530ea616bf5ac59b44073cc8f78caced 100644
|
| --- a/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| +++ b/chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc
|
| @@ -799,12 +799,8 @@ void ChromeResourceDispatcherHostDelegate::OnResponseStarted(
|
| const ResourceRequestInfo* info = ResourceRequestInfo::ForRequest(request);
|
| ProfileIOData* io_data = ProfileIOData::FromResourceContext(resource_context);
|
|
|
| - // See if the response contains the X-Chrome-Manage-Accounts header. If so
|
| - // show the profile avatar bubble so that user can complete signin/out action
|
| - // the native UI.
|
| - signin::ProcessMirrorResponseHeaderIfExists(request, io_data,
|
| - info->GetChildID(),
|
| - info->GetRouteID());
|
| + signin::ProcessAccountConsistencyResponseHeaders(
|
| + request, GURL(), io_data, info->GetChildID(), info->GetRouteID());
|
|
|
| // Built-in additional protection for the chrome web store origin.
|
| #if BUILDFLAG(ENABLE_EXTENSIONS)
|
| @@ -849,6 +845,8 @@ void ChromeResourceDispatcherHostDelegate::OnRequestRedirected(
|
| // native profile management UI is built on top of it.
|
| signin::FixAccountConsistencyRequestHeader(
|
| request, redirect_url, io_data, info->GetChildID(), info->GetRouteID());
|
| + signin::ProcessAccountConsistencyResponseHeaders(
|
| + request, redirect_url, io_data, info->GetChildID(), info->GetRouteID());
|
|
|
| if (io_data->loading_predictor_observer()) {
|
| io_data->loading_predictor_observer()->OnRequestRedirected(
|
|
|