OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:protocolis
(Results
1 - 25
of
29
) sorted by null
1
2
/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
SecurityPolicy.cpp
54
bool referrerIsSecureURL =
protocolIs
(referrer, "https");
55
bool referrerIsWebURL = referrerIsSecureURL ||
protocolIs
(referrer, "http");
63
bool URLIsSecureURL = url.
protocolIs
("https");
KnownPorts.cpp
147
if ((port == 21 || port == 22) && url.
protocolIs
("ftp"))
151
if (url.
protocolIs
("file"))
KURL.h
132
bool
protocolIs
(const char*) const;
133
bool protocolIsData() const { return
protocolIs
("data"); }
221
PLATFORM_EXPORT bool
protocolIs
(const String& url, const char* protocol);
SecurityOrigin.cpp
54
return url.protocolIsInHTTPFamily() || url.
protocolIs
("ftp");
67
if (url.
protocolIs
("blob"))
69
if (url.
protocolIs
("filesystem"))
178
if (url.
protocolIs
("file")) {
KURL.cpp
133
if (isBlankURL() ||
protocolIs
("data") ||
protocolIs
("javascript"))
149
return
protocolIs
("file");
154
return
protocolIs
(url, "javascript");
165
return
protocolIs
("about");
734
bool
protocolIs
(const String& url, const char* protocol)
831
bool KURL::
protocolIs
(const char* protocol) const
KURLTest.cpp
645
TEST(KURLTest,
ProtocolIs
)
648
EXPECT_TRUE(url1.
protocolIs
("foo"));
649
EXPECT_FALSE(url1.
protocolIs
("foo-bar"));
652
EXPECT_TRUE(url2.
protocolIs
("foo-bar"));
653
EXPECT_FALSE(url2.
protocolIs
("foo"));
656
EXPECT_FALSE(invalidUTF8.
protocolIs
("http"));
657
EXPECT_TRUE(invalidUTF8.
protocolIs
(""));