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

Unified Diff: net/base/registry_controlled_domains/test_util.cc

Issue 859663003: GetEffectiveDomain should handle ws scheme as same as http scheme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: net/base/registry_controlled_domains/test_util.cc
diff --git a/net/base/registry_controlled_domains/test_util.cc b/net/base/registry_controlled_domains/test_util.cc
new file mode 100644
index 0000000000000000000000000000000000000000..708cda9cc0b314083e1d61eaf76546efef2b0983
--- /dev/null
+++ b/net/base/registry_controlled_domains/test_util.cc
@@ -0,0 +1,21 @@
+// Copyright (c) 2015 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 "net/base/registry_controlled_domains/test_util.h"
+
+#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
+
+namespace {
+#include "net/base/registry_controlled_domains/effective_tld_names_unittest1-inc.cc"
+} // namespace
+
+namespace net {
+namespace test {
+namespace registry_controlled_domains {
+void SetFindDomainTestGraph() {
+ net::registry_controlled_domains::SetFindDomainGraph(kDafsa, sizeof(kDafsa));
+}
+} // namespace registry_controlled_domains
+} // namespace test
+} // namespace net

Powered by Google App Engine
This is Rietveld 408576698