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

Unified Diff: components/autofill/core/browser/autofill_download_manager.cc

Issue 2558913003: Restrict transmission of external exp ids to signed in users. (Closed)
Patch Set: Created 4 years 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: components/autofill/core/browser/autofill_download_manager.cc
diff --git a/components/autofill/core/browser/autofill_download_manager.cc b/components/autofill/core/browser/autofill_download_manager.cc
index 021a85024ea5a8908a029ff7fe1775f99860e926..a04832dbdd1aca838c9b1f060bacda44c3e81a57 100644
--- a/components/autofill/core/browser/autofill_download_manager.cc
+++ b/components/autofill/core/browser/autofill_download_manager.cc
@@ -247,8 +247,9 @@ bool AutofillDownloadManager::StartRequest(
net::LOAD_DO_NOT_SEND_COOKIES);
// Add Chrome experiment state to the request headers.
net::HttpRequestHeaders headers;
- variations::AppendVariationHeaders(
- fetcher->GetOriginalURL(), driver_->IsOffTheRecord(), false, &headers);
+ variations::AppendVariationHeaders(fetcher->GetOriginalURL(),
Mathieu 2016/12/08 18:04:59 Could we check whether the user is signed in, here
Alexei Svitkine (slow) 2016/12/08 20:27:33 It shouldn't affect the experiments coming from th
Mathieu 2016/12/08 20:37:26 Thanks for the clarification! Could we add a comme
Alexei Svitkine (slow) 2016/12/09 15:53:57 Done.
+ driver_->IsOffTheRecord(), false, false,
+ &headers);
fetcher->SetExtraRequestHeaders(headers.ToString());
fetcher->Start();
« no previous file with comments | « chrome/browser/loader/chrome_resource_dispatcher_host_delegate.cc ('k') | components/feedback/feedback_uploader_chrome.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698