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

Unified Diff: third_party/WebKit/Source/core/loader/NetworkHintsInterface.h

Issue 2043753002: Declarative resource hints go through mojo IPC to //content Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/loader/NetworkHintsInterface.h
diff --git a/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h b/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h
index 1932bfc73ccffe5aff04ae4b4b30c49175706c86..ac43b50c2e9943d7fb0c10c1fe8b14bce7487289 100644
--- a/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h
+++ b/third_party/WebKit/Source/core/loader/NetworkHintsInterface.h
@@ -11,12 +11,12 @@ namespace blink {
class NetworkHintsInterface {
public:
- virtual void dnsPrefetchHost(const String&) const = 0;
+ virtual void dnsPrefetchHost(const KURL&) const = 0;
virtual void preconnectHost(const KURL&, const CrossOriginAttributeValue) const = 0;
};
class NetworkHintsInterfaceImpl : public NetworkHintsInterface {
- void dnsPrefetchHost(const String& host) const override
+ void dnsPrefetchHost(const KURL& host) const override
{
prefetchDNS(host);
}

Powered by Google App Engine
This is Rietveld 408576698