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

Unified Diff: components/network_hints/renderer/dns_prefetch_queue.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
« no previous file with comments | « components/network_hints/renderer/DEPS ('k') | components/network_hints/renderer/dns_prefetch_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_hints/renderer/dns_prefetch_queue.h
diff --git a/components/dns_prefetch/renderer/predictor_queue.h b/components/network_hints/renderer/dns_prefetch_queue.h
similarity index 90%
rename from components/dns_prefetch/renderer/predictor_queue.h
rename to components/network_hints/renderer/dns_prefetch_queue.h
index cb0c17a1408b4e3a4058d116b628140e2be11a1a..72b4fadf162d1fb4e7507df3bd21d8cad5c7c816 100644
--- a/components/dns_prefetch/renderer/predictor_queue.h
+++ b/components/network_hints/renderer/dns_prefetch_queue.h
@@ -21,16 +21,18 @@
// rendering, the supplier is the renderer (typically), and the consumer
// is a thread that sends messages to an async DNS resolver.
-#ifndef COMPONENTS_DNS_PREFETCH_RENDERER_PREDICTOR_QUEUE_H__
-#define COMPONENTS_DNS_PREFETCH_RENDERER_PREDICTOR_QUEUE_H__
+#ifndef COMPONENTS_NETWORK_HINTS_RENDERER_DNS_PREFETCH_QUEUE_H__
+#define COMPONENTS_NETWORK_HINTS_RENDERER_DNS_PREFETCH_QUEUE_H__
#include <string>
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-namespace dns_prefetch {
+namespace network_hints {
+// A queue of DNS lookup requests for internal use within the network_hints
+// component.
class DnsQueue {
public:
// BufferSize is a signed type used for indexing into a buffer.
@@ -86,6 +88,6 @@ class DnsQueue {
DISALLOW_COPY_AND_ASSIGN(DnsQueue);
}; // class DnsQueue
-} // namespace dns_prefetch
+} // namespace network_hints
-#endif // COMPONENTS_DNS_PREFETCH_RENDERER_PREDICTOR_QUEUE_H__
+#endif // COMPONENTS_NETWORK_HINTS_RENDERER_DNS_PREFETCH_QUEUE_H__
« no previous file with comments | « components/network_hints/renderer/DEPS ('k') | components/network_hints/renderer/dns_prefetch_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698