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

Unified Diff: components/dns_prefetch/common/prefetch_common.cc

Issue 644123002: Componentize renderer side of DNS prefetching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybot fixes: 1) hide gyp target from ios 2) UintToString --> SizeTToString Created 6 years, 1 month 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/common/prefetch_common.cc
diff --git a/components/dns_prefetch/common/prefetch_common.cc b/components/dns_prefetch/common/prefetch_common.cc
new file mode 100644
index 0000000000000000000000000000000000000000..04d5ff26dd8059ae5aaf3f836088756a844c1ffd
--- /dev/null
+++ b/components/dns_prefetch/common/prefetch_common.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "components/dns_prefetch/common/prefetch_common.h"
+
+namespace dns_prefetch {
+
+const size_t kMaxDnsHostnamesPerRequest = 30;
+const size_t kMaxDnsHostnameLength = 255;
+
+LookupRequest::LookupRequest() {
+}
+
+LookupRequest::~LookupRequest() {
+}
+
+} // namespace dns_prefetch
« no previous file with comments | « components/dns_prefetch/common/prefetch_common.h ('k') | components/dns_prefetch/common/prefetch_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698