HomeSort by relevance Sort by last modified time
    Searched refs:GetDomainFromURL (Results 1 - 4 of 4) sorted by null

  /external/chromium/net/base/
registry_controlled_domain_unittest.cc 54 std::string GetDomainFromURL(const std::string& url) {
85 EXPECT_EQ("baz.jp", GetDomainFromURL("http://a.baz.jp/file.html")); // 1
86 EXPECT_EQ("baz.jp.", GetDomainFromURL("http://a.baz.jp./file.html")); // 1
87 EXPECT_EQ("", GetDomainFromURL("http://ac.jp")); // 2
88 EXPECT_EQ("", GetDomainFromURL("http://a.bar.jp")); // 3
89 EXPECT_EQ("", GetDomainFromURL("http://bar.jp")); // 3
90 EXPECT_EQ("", GetDomainFromURL("http://baz.bar.jp")); // 3 4
91 EXPECT_EQ("a.b.baz.bar.jp", GetDomainFromURL("http://a.b.baz.bar.jp"));
93 EXPECT_EQ("pref.bar.jp", GetDomainFromURL("http://baz.pref.bar.jp")); // 5
94 EXPECT_EQ("b.bar.baz.com.", GetDomainFromURL("http://a.b.bar.baz.com."))
    [all...]
  /external/chromium_org/net/base/registry_controlled_domains/
registry_controlled_domain_unittest.cc 23 std::string GetDomainFromURL(const std::string& url) {
76 EXPECT_EQ("baz.jp", GetDomainFromURL("http://a.baz.jp/file.html")); // 1
77 EXPECT_EQ("baz.jp.", GetDomainFromURL("http://a.baz.jp./file.html")); // 1
78 EXPECT_EQ("", GetDomainFromURL("http://ac.jp")); // 2
79 EXPECT_EQ("", GetDomainFromURL("http://a.bar.jp")); // 3
80 EXPECT_EQ("", GetDomainFromURL("http://bar.jp")); // 3
81 EXPECT_EQ("", GetDomainFromURL("http://baz.bar.jp")); // 3 4
82 EXPECT_EQ("a.b.baz.bar.jp", GetDomainFromURL("http://a.b.baz.bar.jp"));
84 EXPECT_EQ("pref.bar.jp", GetDomainFromURL("http://baz.pref.bar.jp")); // 5
85 EXPECT_EQ("b.bar.baz.com.", GetDomainFromURL("http://a.b.bar.baz.com."))
    [all...]
  /external/chromium_org/content/browser/gpu/
gpu_data_manager_impl_private.cc 486 std::string domain = GetDomainFromURL(url);
    [all...]
gpu_data_manager_impl_private.h 203 std::string GetDomainFromURL(const GURL& url) const;

Completed in 26 milliseconds