OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:CompareDomains
(Results
1 - 2
of
2
) sorted by null
/external/chromium/net/base/
registry_controlled_domain_unittest.cc
74
bool
CompareDomains
(const std::string& url1, const std::string& url2) {
217
EXPECT_TRUE(
CompareDomains
("http://a.b.bar.jp/file.html",
219
EXPECT_TRUE(
CompareDomains
("http://a.b.bar.jp/file.html",
221
EXPECT_FALSE(
CompareDomains
("http://a.foo.jp/file.html", // foo.jp
223
EXPECT_FALSE(
CompareDomains
("http://a.foo.jp/file.html", // foo.jp
225
EXPECT_FALSE(
CompareDomains
("http://a.com/file.html", // a.com
227
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
229
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
231
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
233
EXPECT_TRUE(
CompareDomains
("http://intranet/file.html"
[
all
...]
/external/chromium_org/net/base/registry_controlled_domains/
registry_controlled_domain_unittest.cc
53
bool
CompareDomains
(const std::string& url1, const std::string& url2) {
253
EXPECT_TRUE(
CompareDomains
("http://a.b.bar.jp/file.html",
255
EXPECT_TRUE(
CompareDomains
("http://a.b.bar.jp/file.html",
257
EXPECT_FALSE(
CompareDomains
("http://a.foo.jp/file.html", // foo.jp
259
EXPECT_FALSE(
CompareDomains
("http://a.foo.jp/file.html", // foo.jp
261
EXPECT_FALSE(
CompareDomains
("http://a.com/file.html", // a.com
263
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
265
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
267
EXPECT_TRUE(
CompareDomains
("http://a.x.com/file.html",
269
EXPECT_TRUE(
CompareDomains
("http://intranet/file.html"
[
all
...]
Completed in 26 milliseconds