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

Unified Diff: third_party/WebKit/Source/platform/network/NetworkHints.cpp

Issue 2095303002: sendNavigationHint with mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sendNavigationHint mojo 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/platform/network/NetworkHints.cpp
diff --git a/third_party/WebKit/Source/platform/network/NetworkHints.cpp b/third_party/WebKit/Source/platform/network/NetworkHints.cpp
index 088d0c7b46baedb9cd301727afa3f95a08f768a7..2dc4f54a261af393b9cab7021ef5b9808126876c 100644
--- a/third_party/WebKit/Source/platform/network/NetworkHints.cpp
+++ b/third_party/WebKit/Source/platform/network/NetworkHints.cpp
@@ -49,4 +49,9 @@ void preconnect(const KURL& url, const CrossOriginAttributeValue crossOrigin)
Platform::current()->mojoServices()->resourceHintsHandler()->Preconnect(url, allowCredentials, 1);
}
+void sendNavigationHint(const KURL& url, mojom::blink::NavigationHintType type)
+{
+ Platform::current()->mojoServices()->resourceHintsHandler()->SendNavigationHint(url, type);
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/network/NetworkHints.h ('k') | third_party/WebKit/public/platform/resource_hints.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698