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

Unified Diff: components/network_hints/browser/network_hints_message_filter.cc

Issue 899883004: Added chrome-side support for link rel=preconnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed formatting nit Created 5 years, 10 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
« no previous file with comments | « components/network_hints/DEPS ('k') | components/network_hints/common/network_hints_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_hints/browser/network_hints_message_filter.cc
diff --git a/components/network_hints/browser/network_hints_message_filter.cc b/components/network_hints/browser/network_hints_message_filter.cc
index 5541747b72ad129634d443f385f331bfb92d4461..0fc22a94cd30451f503a6dcb5d24c772c69b5150 100644
--- a/components/network_hints/browser/network_hints_message_filter.cc
+++ b/components/network_hints/browser/network_hints_message_filter.cc
@@ -64,7 +64,7 @@ class DnsLookupRequest {
NetworkHintsMessageFilter::NetworkHintsMessageFilter(
net::HostResolver* host_resolver)
- : content::BrowserMessageFilter(DnsPrefetchMsgStart),
+ : content::BrowserMessageFilter(NetworkHintsMsgStart),
host_resolver_(host_resolver) {
DCHECK(host_resolver_);
}
@@ -75,7 +75,7 @@ NetworkHintsMessageFilter::~NetworkHintsMessageFilter() {
bool NetworkHintsMessageFilter::OnMessageReceived(const IPC::Message& message) {
bool handled = true;
IPC_BEGIN_MESSAGE_MAP(NetworkHintsMessageFilter, message)
- IPC_MESSAGE_HANDLER(DnsPrefetchMsg_RequestPrefetch, OnDnsPrefetch)
+ IPC_MESSAGE_HANDLER(NetworkHintsMsg_DNSPrefetch, OnDnsPrefetch)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
« no previous file with comments | « components/network_hints/DEPS ('k') | components/network_hints/common/network_hints_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698