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

Unified Diff: components/variations/net/variations_http_headers.h

Issue 2563103002: Switch variations http headers to only be reported over https. (Closed)
Patch Set: fixing drive by 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
« no previous file with comments | « no previous file | components/variations/net/variations_http_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/net/variations_http_headers.h
diff --git a/components/variations/net/variations_http_headers.h b/components/variations/net/variations_http_headers.h
index d6280e56e8e0584e4cdad1a803ca7a38e46b88b7..0a4b29a2b8bf22cc81b15a8b11e5a74d74c99243 100644
--- a/components/variations/net/variations_http_headers.h
+++ b/components/variations/net/variations_http_headers.h
@@ -31,7 +31,8 @@ std::set<std::string> GetVariationHeaderNames();
namespace internal {
// Checks whether variation headers should be appended to requests to the
-// specified |url|. Returns true for google.<TLD> and youtube.<TLD> URLs.
+// specified |url|. Returns true for google.<TLD> and youtube.<TLD> URLs with
+// the https scheme.
bool ShouldAppendVariationHeaders(const GURL& url);
} // namespace internal
« no previous file with comments | « no previous file | components/variations/net/variations_http_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698