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

Unified Diff: chrome/renderer/net/prescient_networking_dispatcher.h

Issue 15963006: Implement WebPrescientNetworking::prefetchDNS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused include Created 7 years, 7 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 | « no previous file | chrome/renderer/net/prescient_networking_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/net/prescient_networking_dispatcher.h
diff --git a/chrome/renderer/net/prescient_networking_dispatcher.h b/chrome/renderer/net/prescient_networking_dispatcher.h
index bb0fbf9acd60e1514091ea77b435a9ba20c78c94..3db689c8b278d4cbba58b3f32818efd796b0c31d 100644
--- a/chrome/renderer/net/prescient_networking_dispatcher.h
+++ b/chrome/renderer/net/prescient_networking_dispatcher.h
@@ -6,14 +6,19 @@
#define CHROME_RENDERER_NET_PRESCIENT_NETWORKING_DISPATCHER_H_
#include "base/compiler_specific.h"
+#include "chrome/renderer/net/renderer_net_predictor.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebPrescientNetworking.h"
class PrescientNetworkingDispatcher : public WebKit::WebPrescientNetworking {
public:
virtual ~PrescientNetworkingDispatcher();
+ virtual void prefetchDNS(const WebKit::WebString& hostname) OVERRIDE;
+
virtual void preconnect(const WebKit::WebURL& url,
WebKit::WebPreconnectMotivation motivation) OVERRIDE;
+ private:
+ RendererNetPredictor net_predictor_;
};
jar (doing other things) 2013/05/30 21:55:03 nit: Do we DISALLOW_COPY_AND_ASSIGN? ...or is thi
kouhei (in TOK) 2013/05/31 05:56:29 Done.
#endif // CHROME_RENDERER_NET_PRESCIENT_NETWORKING_DISPATCHER_H_
« no previous file with comments | « no previous file | chrome/renderer/net/prescient_networking_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698