Home
last modified time | relevance | path

Searched refs:protocolIs (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/weborigin/
DSecurityPolicy.cpp54 bool referrerIsSecureURL = protocolIs(referrer, "https"); in shouldHideReferrer()
55 bool referrerIsWebURL = referrerIsSecureURL || protocolIs(referrer, "http"); in shouldHideReferrer()
63 bool URLIsSecureURL = url.protocolIs("https"); in shouldHideReferrer()
73 if (!(protocolIs(referrer, "https") || protocolIs(referrer, "http"))) in generateReferrerHeader()
DKURL.h132 bool protocolIs(const char*) const;
133 bool protocolIsData() const { return protocolIs("data"); } in protocolIsData()
135 bool protocolIsAbout() const { return protocolIs("about"); } in protocolIsAbout()
223 PLATFORM_EXPORT bool protocolIs(const String& url, const char* protocol);
DKnownPorts.cpp147 if ((port == 21 || port == 22) && url.protocolIs("ftp")) in portAllowed()
151 if (url.protocolIs("file")) in portAllowed()
DSecurityOrigin.cpp55 return url.protocolIsInHTTPFamily() || url.protocolIs("ftp"); in schemeRequiresAuthority()
68 if (url.protocolIs("blob")) in shouldUseInnerURL()
70 if (url.protocolIs("filesystem")) in shouldUseInnerURL()
179 if (url.protocolIs("file")) { in create()
DKURLTest.cpp672 EXPECT_TRUE(url1.protocolIs("foo")); in TEST()
673 EXPECT_FALSE(url1.protocolIs("foo-bar")); in TEST()
676 EXPECT_TRUE(url2.protocolIs("foo-bar")); in TEST()
677 EXPECT_FALSE(url2.protocolIs("foo")); in TEST()
680 EXPECT_FALSE(invalidUTF8.protocolIs("http")); in TEST()
681 EXPECT_TRUE(invalidUTF8.protocolIs("")); in TEST()
DKURL.cpp133 if (protocolIsAbout() || protocolIs("data") || protocolIs("javascript")) in strippedForUseAsReferrer()
152 return protocolIs("file"); in isLocalFile()
157 return protocolIs(url, "javascript"); in protocolIsJavaScript()
768 bool protocolIs(const String& url, const char* protocol) in protocolIs() function
865 bool KURL::protocolIs(const char* protocol) const in protocolIs() function in WebCore::KURL
/external/chromium_org/third_party/WebKit/Source/core/frame/csp/
DCSPSource.cpp41 return url.protocolIs("http") || url.protocolIs("https"); in schemeMatches()
/external/chromium_org/third_party/WebKit/Source/platform/
DMIMETypeFromURL.cpp38 ASSERT(protocolIs(url, "data")); in mimeTypeFromDataURL()
/external/chromium_org/third_party/WebKit/Source/platform/blob/
DBlobURL.cpp51 ASSERT(url.protocolIs(kBlobProtocol)); in getOrigin()
DBlobRegistry.cpp286 if (url.protocolIs("blob")) in cachedOrigin()
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8DOMActivityLogger.cpp66 if (!url.protocolIs("chrome-extension")) in activityLogger()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DMixedContentChecker.cpp98 if (url.protocolIs("javascript")) in canSubmitToInsecureForm()
DFormSubmission.cpp200 bool isMailtoForm = actionURL.protocolIs("mailto"); in create()
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
DRTCPeerConnection.cpp148 …if (!url.isValid() || !(url.protocolIs("turn") || url.protocolIs("turns") || url.protocolIs("stun"… in parseConfiguration()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketHandshake.cpp81 ASSERT(url.protocolIs("wss") == secure); in hostName()
126 , m_secure(m_url.protocolIs("wss")) in WebSocketHandshake()
DWebSocket.cpp292 if (!m_url.protocolIs("ws") && !m_url.protocolIs("wss")) { in connect()
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebHTTPBody.cpp138 ASSERT(KURL(url).protocolIs("filesystem")); in appendFileSystemURLRange()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAnchorElement.cpp232 … if (protocolIs(parsedURL, "http") || protocolIs(parsedURL, "https") || parsedURL.startsWith("//")) in parseAttribute()
DHTMLPlugInElement.cpp394 if (m_serviceType.isEmpty() && protocolIs(m_url, "data")) in isImageType()
/external/chromium_org/third_party/WebKit/Source/web/
DWebSearchableFormData.cpp75 return form->document().completeURL(action.isNull() ? "" : action).protocolIs("http"); in IsHTTPFormSubmit()
DWebPageSerializer.cpp126 if (frameURL.protocolIs(static_cast<CString>(supportedSchemes[i]).data())) { in retrieveResourcesForFrame()
DWebPluginContainerImpl.cpp447 ASSERT(kurl.protocolIs("javascript")); in executeScriptURL()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DResource.cpp296 && !response.url().protocolIs("filesystem")) in freshnessLifetime()
517 if (hasCacheControlNoStoreHeader() && url().protocolIs("https")) { in removeClient()
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DDOMFileSystemBase.cpp91 if (!url.protocolIs("filesystem")) in crackFileSystemURL()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderDeprecatedFlexibleBox.cpp131 if (url.protocolIs("chrome")) in RenderDeprecatedFlexibleBox()
133 else if (url.protocolIs("chrome-extension")) in RenderDeprecatedFlexibleBox()

12