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

Unified Diff: net/base/registry_controlled_domains/registry_controlled_domain_unittest.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/registry_controlled_domain_unittest.cc
diff --git a/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc b/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc
index 22bd963ad4b17fd4f320fb9f9d618a94c7e18ce5..26eae9b42b961d70872597ab7579733e639f39a2 100644
--- a/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc
+++ b/net/base/registry_controlled_domains/registry_controlled_domain_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
+#include "net/base/registry_controlled_domains/test_util.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
@@ -28,6 +29,17 @@ namespace test6 {
} // namespace
namespace net {
+namespace test {
+namespace registry_controlled_domains {
+void SetFindDomainTestGraph() {
Adam Rice 2015/01/19 05:18:56 I don't think you can put this here. I think ther
yhirano 2015/01/19 05:56:21 Done. Unfortunately, test_util.cc is more strictly
Adam Rice 2015/01/19 06:05:57 I think that's okay. The check is not perfect, and
+ net::registry_controlled_domains::SetFindDomainGraph(test1::kDafsa,
+ sizeof(test1::kDafsa));
+}
+} // namespace registry_controlled_domains
+} // namespace test
+} // namespace net
+
+namespace net {
namespace registry_controlled_domains {
namespace {
« no previous file with comments | « no previous file | net/base/registry_controlled_domains/test_util.h » ('j') | net/cookies/cookie_util_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698