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

Unified Diff: chrome/browser/signin/chrome_signin_helper.h

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/signin/chrome_signin_helper.h
diff --git a/chrome/browser/signin/chrome_signin_helper.h b/chrome/browser/signin/chrome_signin_helper.h
index 76e7082aa1c3f42bb0713f011b0f65a32dba2169..c5f6b03d3e3227623176183248defb53e8170e84 100644
--- a/chrome/browser/signin/chrome_signin_helper.h
+++ b/chrome/browser/signin/chrome_signin_helper.h
@@ -24,7 +24,9 @@ namespace signin {
// with the exception of requests from gaia webview. Must be called on IO
// thread.
// Returns true if the account management header was added to the request.
-bool AppendMirrorRequestHeaderHelper(net::URLRequest* request,
+// Removes X-Chrome-Connected header if it is already in the headers and
+// it should not be there.
+bool FixMirrorRequestHeaderHelper(net::URLRequest* request,
const GURL& redirect_url,
eroman 2016/08/23 20:02:36 indentation
Ramin Halavati 2016/08/26 17:04:32 Done.
ProfileIOData* io_data,
int child_id,

Powered by Google App Engine
This is Rietveld 408576698