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

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

Issue 2258483002: X-Chrome-Connected is stripped when it should not be in headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/renderer_host/chrome_resource_dispatcher_host_delegate.cc
diff --git a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
index e56c24f6fe5572997b93a6427739c0eb68c48df7..658fd70d03aa4a3b32d1ffa39acacf0c76ec1445 100644
--- a/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
+++ b/chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc
@@ -474,9 +474,9 @@ void ChromeResourceDispatcherHostDelegate::RequestBeginning(
if (io_data->policy_header_helper())
io_data->policy_header_helper()->AddPolicyHeaders(request->url(), request);
- signin::AppendMirrorRequestHeaderHelper(request, GURL() /* redirect_url */,
- io_data, info->GetChildID(),
- info->GetRouteID());
+ signin::FixMirrorRequestHeaderHelper(request, GURL() /* redirect_url */,
+ io_data, info->GetChildID(),
+ info->GetRouteID());
AppendStandardResourceThrottles(request,
resource_context,
@@ -805,7 +805,7 @@ void ChromeResourceDispatcherHostDelegate::OnRequestRedirected(
// response and let Chrome handle the action with native UI. The only
// exception is requests from gaia webview, since the native profile
// management UI is built on top of it.
- signin::AppendMirrorRequestHeaderHelper(
+ signin::FixMirrorRequestHeaderHelper(
request, redirect_url, io_data, info->GetChildID(), info->GetRouteID());
if (io_data->resource_prefetch_predictor_observer()) {

Powered by Google App Engine
This is Rietveld 408576698