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

Unified Diff: components/dns_prefetch/renderer/prescient_networking_dispatcher.h

Issue 848303005: Renamed the dns_prefetch component to network_predictor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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: components/dns_prefetch/renderer/prescient_networking_dispatcher.h
diff --git a/components/dns_prefetch/renderer/prescient_networking_dispatcher.h b/components/dns_prefetch/renderer/prescient_networking_dispatcher.h
deleted file mode 100644
index fbb383c13454a72597aecde10f0638fb4da130b1..0000000000000000000000000000000000000000
--- a/components/dns_prefetch/renderer/prescient_networking_dispatcher.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_DNS_PREFETCH_RENDERER_PRESCIENT_NETWORKING_DISPATCHER_H_
-#define COMPONENTS_DNS_PREFETCH_RENDERER_PRESCIENT_NETWORKING_DISPATCHER_H_
-
-#include "base/macros.h"
-#include "components/dns_prefetch/renderer/renderer_net_predictor.h"
-#include "third_party/WebKit/public/platform/WebPrescientNetworking.h"
-
-namespace dns_prefetch {
-
-class PrescientNetworkingDispatcher : public blink::WebPrescientNetworking {
- public:
- PrescientNetworkingDispatcher();
- ~PrescientNetworkingDispatcher() override;
-
- void prefetchDNS(const blink::WebString& hostname) override;
-
- private:
- dns_prefetch::RendererNetPredictor net_predictor_;
-
- DISALLOW_COPY_AND_ASSIGN(PrescientNetworkingDispatcher);
-};
-
-} // namespace dns_prefetch
-
-#endif // COMPONENTS_DNS_PREFETCH_RENDERER_PRESCIENT_NETWORKING_DISPATCHER_H_

Powered by Google App Engine
This is Rietveld 408576698