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

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

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.h
diff --git a/third_party/WebKit/Source/platform/network/NetworkHints.h b/third_party/WebKit/Source/platform/network/NetworkHints.h
index 04cecc9a5e4683235c7f644cd1bd59e2afd5b6a2..1c49843622b6f07e3abb6a3b7a55ec40f2c10000 100644
--- a/third_party/WebKit/Source/platform/network/NetworkHints.h
+++ b/third_party/WebKit/Source/platform/network/NetworkHints.h
@@ -34,9 +34,16 @@
namespace blink {
+namespace mojom {
+namespace blink {
+enum class NavigationHintType;
+} // namespace blink
+} // namespace mojom
+
PLATFORM_EXPORT void speculativePrefetchDNS(const String& hostname);
PLATFORM_EXPORT void prefetchDNS(const KURL&);
PLATFORM_EXPORT void preconnect(const KURL&, const CrossOriginAttributeValue);
+PLATFORM_EXPORT void sendNavigationHint(const KURL&, mojom::blink::NavigationHintType);
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp ('k') | third_party/WebKit/Source/platform/network/NetworkHints.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698