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

Unified Diff: chrome/browser/net/predictor.h

Issue 1131293004: Add cross origin to Blink-driven preconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 years, 6 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/net/predictor.h
diff --git a/chrome/browser/net/predictor.h b/chrome/browser/net/predictor.h
index d1983e36f486e844e31edfd0ec5453cd35796fae..24fd70cbbc38ad21688f729d1d7ee14a5d65f027 100644
--- a/chrome/browser/net/predictor.h
+++ b/chrome/browser/net/predictor.h
@@ -243,12 +243,14 @@ class Predictor {
// May be called from either the IO or UI thread and will PostTask
// to the IO thread if necessary.
Ryan Sleevi 2015/06/11 22:20:15 Should update documentation for these methods to r
void PreconnectUrl(const GURL& url, const GURL& first_party_for_cookies,
- UrlInfo::ResolutionMotivation motivation, int count);
+ UrlInfo::ResolutionMotivation motivation, int count,
+ bool is_credentials_flag_set = true);
Ryan Sleevi 2015/06/11 22:20:15 STYLE: Still with the defaults here; can't do this
Ryan Sleevi 2015/06/11 22:20:15 NAMING: Same concerns re: is_
void PreconnectUrlOnIOThread(const GURL& url,
const GURL& first_party_for_cookies,
UrlInfo::ResolutionMotivation motivation,
- int count);
+ int count,
+ bool is_credentials_flag_set = true);
// ------------- End IO thread methods.

Powered by Google App Engine
This is Rietveld 408576698