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

Unified Diff: components/network_hints/renderer/renderer_preconnect.h

Issue 1131293004: Add cross origin to Blink-driven preconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove crossorigin logic 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: components/network_hints/renderer/renderer_preconnect.h
diff --git a/components/network_hints/renderer/renderer_preconnect.h b/components/network_hints/renderer/renderer_preconnect.h
index adc014339fadd5f1fb3c196819c42ea0f8aced19..461fd28c64c91041354ec1d2acfa1a65c934ff46 100644
--- a/components/network_hints/renderer/renderer_preconnect.h
+++ b/components/network_hints/renderer/renderer_preconnect.h
@@ -22,14 +22,14 @@
namespace network_hints {
// An internal interface to the network_hints component for efficiently sending
-// DNS prefetch requests to the net stack.
+// preconnect requests to the net stack.
class RendererPreconnect {
public:
RendererPreconnect();
~RendererPreconnect();
// Submit a preconnect request for a single connection.
- void Preconnect(const GURL &url);
+ void Preconnect(const GURL &url, bool allow_credentials);
private:

Powered by Google App Engine
This is Rietveld 408576698