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

Unified Diff: chrome/browser/signin/signin_header_helper.cc

Issue 641403002: Merge: Fix the filtering logic for x-chrome-manage-account header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/signin_header_helper.cc
diff --git a/chrome/browser/signin/signin_header_helper.cc b/chrome/browser/signin/signin_header_helper.cc
index 8337413e4f4919ee37f2c39f1ecfb80052628fab..9b481940c4809d8c712478a473fd0070702918a4 100644
--- a/chrome/browser/signin/signin_header_helper.cc
+++ b/chrome/browser/signin/signin_header_helper.cc
@@ -261,9 +261,7 @@ void ProcessMirrorResponseHeaderIfExists(
const content::ResourceRequestInfo* info =
content::ResourceRequestInfo::ForRequest(request);
- if (!(info && info->IsMainFrame() &&
- (info->HasUserGesture() ||
- !ui::PageTransitionIsWebTriggerable(info->GetPageTransition()))))
+ if (!(info && info->GetResourceType() == content::RESOURCE_TYPE_MAIN_FRAME))
return;
std::string header_value;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698