#ifndef CHROME_RENDERER_NET_PRESCIENT_NETWORKING_DISPATCHER_H_
#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/public/platform/WebPrescientNetworking.h"
class PrescientNetworkingDispatcher : public blink::WebPrescientNetworking {
public:
PrescientNetworkingDispatcher();
virtual ~PrescientNetworkingDispatcher();
virtual void prefetchDNS(const blink::WebString& hostname) OVERRIDE;
virtual void preconnect(const blink::WebURL& url,
blink::WebPreconnectMotivation motivation) OVERRIDE;
private:
RendererNetPredictor net_predictor_;
DISALLOW_COPY_AND_ASSIGN(PrescientNetworkingDispatcher);
};
#endif