protocol 54 Source/core/dom/DOMURLUtilsReadOnly.cpp if (isDefaultPortForProtocol(url.port(), url.protocol())) protocol 47 Source/core/dom/DOMURLUtilsReadOnly.h static String protocol(const KURL& url) { return url.protocol() + ":"; } protocol 48 Source/core/dom/DOMURLUtilsReadOnly.h static String protocol(DOMURLUtilsReadOnly& impl) { return protocol(impl.url()); } protocol 3923 Source/core/dom/Document.cpp if (SchemeRegistry::isDomainRelaxationForbiddenForURLScheme(securityOrigin()->protocol())) { protocol 3924 Source/core/dom/Document.cpp exceptionState.throwSecurityError("Assignment is forbidden for the '" + securityOrigin()->protocol() + "' scheme."); protocol 3934 Source/core/dom/Document.cpp OriginAccessEntry accessEntry(securityOrigin()->protocol(), newDomain, OriginAccessEntry::AllowSubdomains, ipAddressSetting); protocol 4787 Source/core/dom/Document.cpp m_isDNSPrefetchEnabled = settings && settings->dnsPrefetchingEnabled() && securityOrigin()->protocol() == "http"; protocol 1248 Source/core/dom/Element.cpp if (!base.protocol().isEmpty()) protocol 40 Source/core/dom/IconURL.cpp bool couldSetProtocol = url.setProtocol(documentURL.protocol()); protocol 215 Source/core/fetch/CrossOriginAccessControl.cpp if (!SchemeRegistry::shouldTreatURLSchemeAsCORSEnabled(requestURL.protocol())) { protocol 1728 Source/core/frame/DOMWindow.cpp if (targetOrigin->protocol() != activeOrigin->protocol()) protocol 1729 Source/core/frame/DOMWindow.cpp return message + " The frame requesting access has a protocol of \"" + activeURL.protocol() + "\", the frame being accessed has a protocol of \"" + targetURL.protocol() + "\". Protocols must match.\n"; protocol 73 Source/core/frame/Location.cpp return DOMURLUtilsReadOnly::protocol(url()); protocol 143 Source/core/frame/Location.cpp void Location::setProtocol(DOMWindow* callingWindow, DOMWindow* enteredWindow, const String& protocol, ExceptionState& exceptionState) protocol 148 Source/core/frame/Location.cpp if (!url.setProtocol(protocol)) { protocol 149 Source/core/frame/Location.cpp exceptionState.throwDOMException(SyntaxError, "'" + protocol + "' is an invalid protocol."); protocol 61 Source/core/frame/Location.h String protocol() const; protocol 39 Source/core/frame/csp/CSPSource.cpp String protectedResourceScheme(m_policy->securityOrigin()->protocol()); protocol 42 Source/core/frame/csp/CSPSource.cpp return equalIgnoringCase(url.protocol(), protectedResourceScheme); protocol 44 Source/core/frame/csp/CSPSource.cpp return equalIgnoringCase(url.protocol(), m_scheme); protocol 80 Source/core/frame/csp/CSPSource.cpp return isDefaultPortForProtocol(m_port, url.protocol()); protocol 83 Source/core/frame/csp/CSPSource.cpp return isDefaultPortForProtocol(port, url.protocol()); protocol 484 Source/core/frame/csp/CSPSourceList.cpp m_list.append(CSPSource(m_policy, m_policy->securityOrigin()->protocol(), m_policy->securityOrigin()->host(), m_policy->securityOrigin()->port(), String(), false, false)); protocol 283 Source/core/frame/csp/ContentSecurityPolicy.cpp if (SchemeRegistry::schemeShouldBypassContentSecurityPolicy(url.protocol())) protocol 568 Source/core/frame/csp/ContentSecurityPolicy.cpp return url.protocol(); protocol 898 Source/core/inspector/InspectorTimelineAgent.cpp void InspectorTimelineAgent::didCreateWebSocket(Document* document, unsigned long identifier, const KURL& url, const String& protocol) protocol 900 Source/core/inspector/InspectorTimelineAgent.cpp appendRecord(TimelineRecordFactory::createWebSocketCreateData(identifier, url, protocol), TimelineRecordType::WebSocketCreate, true, document->frame()); protocol 219 Source/core/inspector/InspectorTimelineAgent.h void didCreateWebSocket(Document*, unsigned long identifier, const KURL&, const String& protocol); protocol 88 Source/core/inspector/TimelineRecordFactory.h static inline PassRefPtr<JSONObject> createWebSocketCreateData(unsigned long identifier, const KURL& url, const String& protocol) protocol 93 Source/core/inspector/TimelineRecordFactory.h if (!protocol.isNull()) protocol 94 Source/core/inspector/TimelineRecordFactory.h data->setString("webSocketProtocol", protocol); protocol 425 Source/core/loader/DocumentLoader.cpp if (equalIgnoringCase("multipart/related", m_response.mimeType()) && !SchemeRegistry::shouldTreatURLSchemeAsLocal(m_request.url().protocol())) protocol 692 Source/core/loader/DocumentLoader.cpp bool shouldLoadEmpty = !m_substituteData.isValid() && (m_request.url().isEmpty() || SchemeRegistry::shouldLoadURLSchemeAsEmptyDocument(m_request.url().protocol())); protocol 103 Source/core/loader/DocumentThreadableLoader.cpp if (!SchemeRegistry::shouldTreatURLSchemeAsCORSEnabled(request.url().protocol())) { protocol 54 Source/core/loader/MixedContentChecker.cpp if (securityOrigin->protocol() != "https") protocol 114 Source/modules/mediastream/RTCDataChannel.cpp return m_handler->protocol(); protocol 62 Source/modules/mediastream/RTCDataChannel.h String protocol() const; protocol 502 Source/modules/mediastream/RTCPeerConnection.cpp init.protocol = protocolString; protocol 90 Source/modules/websockets/MainThreadWebSocketChannel.cpp void MainThreadWebSocketChannel::connect(const KURL& url, const String& protocol) protocol 95 Source/modules/websockets/MainThreadWebSocketChannel.cpp m_handshake = adoptPtr(new WebSocketHandshake(url, protocol, m_document)); protocol 100 Source/modules/websockets/MainThreadWebSocketChannel.cpp InspectorInstrumentation::didCreateWebSocket(m_document, m_identifier, url, protocol); protocol 73 Source/modules/websockets/MainThreadWebSocketChannel.h virtual void connect(const KURL&, const String& protocol) OVERRIDE; protocol 122 Source/modules/websockets/NewWebSocketChannelImpl.cpp void NewWebSocketChannelImpl::connect(const KURL& url, const String& protocol) protocol 131 Source/modules/websockets/NewWebSocketChannelImpl.cpp if (!protocol.isEmpty()) { protocol 134 Source/modules/websockets/NewWebSocketChannelImpl.cpp protocol.split(", ", true, protocols); protocol 143 Source/modules/websockets/NewWebSocketChannelImpl.cpp InspectorInstrumentation::didCreateWebSocket(document(), m_identifier, url, protocol); protocol 80 Source/modules/websockets/NewWebSocketChannelImpl.h virtual void connect(const KURL&, const String& protocol) OVERRIDE; protocol 169 Source/modules/websockets/WebSocket.cpp static bool isValidProtocolString(const String& protocol) protocol 171 Source/modules/websockets/WebSocket.cpp if (protocol.isEmpty()) protocol 173 Source/modules/websockets/WebSocket.cpp for (size_t i = 0; i < protocol.length(); ++i) { protocol 174 Source/modules/websockets/WebSocket.cpp if (!isValidProtocolCharacter(protocol[i])) protocol 180 Source/modules/websockets/WebSocket.cpp static String encodeProtocolString(const String& protocol) protocol 183 Source/modules/websockets/WebSocket.cpp for (size_t i = 0; i < protocol.length(); i++) { protocol 184 Source/modules/websockets/WebSocket.cpp if (protocol[i] < 0x20 || protocol[i] > 0x7E) protocol 185 Source/modules/websockets/WebSocket.cpp builder.append(String::format("\\u%04X", protocol[i])); protocol 186 Source/modules/websockets/WebSocket.cpp else if (protocol[i] == 0x5c) protocol 189 Source/modules/websockets/WebSocket.cpp builder.append(protocol[i]); protocol 268 Source/modules/websockets/WebSocket.cpp PassRefPtr<WebSocket> WebSocket::create(ExecutionContext* context, const String& url, const String& protocol, ExceptionState& exceptionState) protocol 271 Source/modules/websockets/WebSocket.cpp protocols.append(protocol); protocol 281 Source/modules/websockets/WebSocket.cpp void WebSocket::connect(const String& url, const String& protocol, ExceptionState& exceptionState) protocol 284 Source/modules/websockets/WebSocket.cpp protocols.append(protocol); protocol 300 Source/modules/websockets/WebSocket.cpp exceptionState.throwDOMException(SyntaxError, "The URL's scheme must be either 'ws' or 'wss'. '" + m_url.protocol() + "' is not allowed."); protocol 61 Source/modules/websockets/WebSocket.h static PassRefPtr<WebSocket> create(ExecutionContext*, const String& url, const String& protocol, ExceptionState&); protocol 73 Source/modules/websockets/WebSocket.h void connect(const String& url, const String& protocol, ExceptionState&); protocol 94 Source/modules/websockets/WebSocket.h String protocol() const; protocol 78 Source/modules/websockets/WebSocketChannel.h virtual void connect(const KURL&, const String& protocol) = 0; protocol 132 Source/modules/websockets/WebSocketHandshake.cpp WebSocketHandshake::WebSocketHandshake(const KURL& url, const String& protocol, Document* document) protocol 134 Source/modules/websockets/WebSocketHandshake.cpp , m_clientProtocol(protocol) protocol 168 Source/modules/websockets/WebSocketHandshake.cpp void WebSocketHandshake::setClientProtocol(const String& protocol) protocol 170 Source/modules/websockets/WebSocketHandshake.cpp m_clientProtocol = protocol; protocol 55 Source/modules/websockets/WebSocketHandshake.h WebSocketHandshake(const KURL&, const String& protocol, Document*); protocol 129 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp void WorkerThreadableWebSocketChannel::connect(const KURL& url, const String& protocol) protocol 132 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp m_bridge->connect(url, protocol); protocol 259 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp void WorkerThreadableWebSocketChannel::Peer::connect(const KURL& url, const String& protocol) protocol 264 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp m_mainWebSocketChannel->connect(url, protocol); protocol 475 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp void WorkerThreadableWebSocketChannel::Bridge::connect(const KURL& url, const String& protocol) protocol 478 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp m_loaderProxy.postTaskToLoader(CallClosureTask::create(bind(&Peer::connect, m_peer, url.copy(), protocol.isolatedCopy()))); protocol 74 Source/modules/websockets/WorkerThreadableWebSocketChannel.h virtual void connect(const KURL&, const String& protocol) OVERRIDE; protocol 100 Source/modules/websockets/WorkerThreadableWebSocketChannel.h void connect(const KURL&, const String& protocol); protocol 150 Source/modules/websockets/WorkerThreadableWebSocketChannel.h void connect(const KURL&, const String& protocol); protocol 102 Source/platform/URLPatternMatcher.cpp if (!equalIgnoringCase(test.protocol(), m_scheme)) protocol 31 Source/platform/mac/EmptyProtocolDefinitions.h @protocol NAME <NSObject> \ protocol 101 Source/platform/mhtml/MHTMLArchive.cpp if (!SchemeRegistry::shouldTreatURLSchemeAsLocal(url.protocol())) protocol 79 Source/platform/weborigin/DatabaseIdentifier.cpp String protocol = databaseIdentifier.substring(0, separator1); protocol 83 Source/platform/weborigin/DatabaseIdentifier.cpp KURL url(KURL(), protocol + "://" + host + ":" + String::number(port) + "/"); protocol 84 Source/platform/weborigin/DatabaseIdentifier.cpp if (!url.isValid() || url.protocol() != protocol || url.host() != host) protocol 102 Source/platform/weborigin/DatabaseIdentifier.cpp return securityOrigin->protocol() + separatorString + securityOrigin->host() + separatorString + String::number(securityOrigin->port()); protocol 49 Source/platform/weborigin/DatabaseIdentifierTest.cpp String protocol; protocol 70 Source/platform/weborigin/DatabaseIdentifierTest.cpp RefPtr<SecurityOrigin> origin = SecurityOrigin::create(cases[i].protocol, cases[i].host, cases[i].port); protocol 230 Source/platform/weborigin/DatabaseIdentifierTest.cpp EXPECT_EQ(validCases[i].expectedProtocol, origin->protocol()) << "test case " << i; protocol 48 Source/platform/weborigin/KURL.cpp static void assertProtocolIsGood(const char* protocol) protocol 51 Source/platform/weborigin/KURL.cpp const char* p = protocol; protocol 116 Source/platform/weborigin/KURL.cpp bool isValidProtocol(const String& protocol) protocol 119 Source/platform/weborigin/KURL.cpp if (protocol.isEmpty()) protocol 121 Source/platform/weborigin/KURL.cpp if (!isSchemeFirstChar(protocol[0])) protocol 123 Source/platform/weborigin/KURL.cpp unsigned protocolLength = protocol.length(); protocol 125 Source/platform/weborigin/KURL.cpp if (!isSchemeChar(protocol[i])) protocol 412 Source/platform/weborigin/KURL.cpp bool KURL::setProtocol(const String& protocol) protocol 415 Source/platform/weborigin/KURL.cpp int separatorPosition = protocol.find(':'); protocol 416 Source/platform/weborigin/KURL.cpp String newProtocol = protocol.substring(0, separatorPosition); protocol 510 Source/platform/weborigin/KURL.cpp if (isDefaultPortForProtocol(port, protocol())) { protocol 734 Source/platform/weborigin/KURL.cpp bool protocolIs(const String& url, const char* protocol) protocol 736 Source/platform/weborigin/KURL.cpp assertProtocolIsGood(protocol); protocol 740 Source/platform/weborigin/KURL.cpp return url_util::FindAndCompareScheme(asURLChar8Subtle(url), url.length(), protocol, 0); protocol 741 Source/platform/weborigin/KURL.cpp return url_util::FindAndCompareScheme(url.characters16(), url.length(), protocol, 0); protocol 792 Source/platform/weborigin/KURL.cpp bool internalProtocolIs(const url_parse::Component& scheme, const CHAR* spec, const char* protocol) protocol 797 Source/platform/weborigin/KURL.cpp while (begin != end && *protocol) { protocol 798 Source/platform/weborigin/KURL.cpp ASSERT(toASCIILower(*protocol) == *protocol); protocol 799 Source/platform/weborigin/KURL.cpp if (toASCIILower(*begin++) != *protocol++) protocol 805 Source/platform/weborigin/KURL.cpp return begin == end && !*protocol; protocol 831 Source/platform/weborigin/KURL.cpp bool KURL::protocolIs(const char* protocol) const protocol 833 Source/platform/weborigin/KURL.cpp assertProtocolIsGood(protocol); protocol 840 Source/platform/weborigin/KURL.cpp return *protocol == '\0'; protocol 843 Source/platform/weborigin/KURL.cpp internalProtocolIs(m_parsed.scheme, m_string.characters8(), protocol) : protocol 844 Source/platform/weborigin/KURL.cpp internalProtocolIs(m_parsed.scheme, m_string.characters16(), protocol); protocol 116 Source/platform/weborigin/KURL.h String protocol() const; protocol 221 Source/platform/weborigin/KURL.h PLATFORM_EXPORT bool protocolIs(const String& url, const char* protocol); protocol 46 Source/platform/weborigin/KURLTest.cpp const char* protocol; protocol 61 Source/platform/weborigin/KURLTest.cpp const char* protocol; protocol 82 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].protocol, kurl.protocol()); protocol 96 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].protocol, kurl.protocol()); protocol 133 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ(cases[i].protocol, kurl.protocol()); protocol 165 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(WTF::equalIgnoringCase(mailto.protocol(), "mailto")); protocol 187 Source/platform/weborigin/KURLTest.cpp const char* protocol; protocol 227 Source/platform/weborigin/KURLTest.cpp kurl.setProtocol(cases[i].protocol); protocol 37 Source/platform/weborigin/KnownPorts.cpp bool isDefaultPortForProtocol(unsigned short port, const String& protocol) protocol 39 Source/platform/weborigin/KnownPorts.cpp if (protocol.isEmpty()) protocol 50 Source/platform/weborigin/KnownPorts.cpp return defaultPorts.get(protocol) == port; protocol 36 Source/platform/weborigin/KnownPorts.h PLATFORM_EXPORT bool isDefaultPortForProtocol(unsigned short port, const String& protocol); protocol 40 Source/platform/weborigin/OriginAccessEntry.cpp OriginAccessEntry::OriginAccessEntry(const String& protocol, const String& host, SubdomainSetting subdomainSetting, IPAddressSetting ipAddressSetting) protocol 41 Source/platform/weborigin/OriginAccessEntry.cpp : m_protocol(protocol.lower()) protocol 63 Source/platform/weborigin/OriginAccessEntry.cpp ASSERT(origin.protocol() == origin.protocol().lower()); protocol 65 Source/platform/weborigin/OriginAccessEntry.cpp if (m_protocol != origin.protocol()) protocol 60 Source/platform/weborigin/OriginAccessEntry.h OriginAccessEntry(const String& protocol, const String& host, SubdomainSetting, IPAddressSetting); protocol 63 Source/platform/weborigin/OriginAccessEntry.h const String& protocol() const { return m_protocol; } protocol 79 Source/platform/weborigin/OriginAccessEntry.h return equalIgnoringCase(a.protocol(), b.protocol()) protocol 109 Source/platform/weborigin/SecurityOrigin.cpp String protocol = innerURL.protocol().lower(); protocol 111 Source/platform/weborigin/SecurityOrigin.cpp if (SchemeRegistry::shouldTreatURLSchemeAsNoAccess(protocol)) protocol 119 Source/platform/weborigin/SecurityOrigin.cpp : m_protocol(url.protocol().isNull() ? "" : url.protocol().lower()) protocol 216 Source/platform/weborigin/SecurityOrigin.cpp if (!url.isValid() || SchemeRegistry::shouldTreatURLSchemeAsSecure(url.protocol())) protocol 220 Source/platform/weborigin/SecurityOrigin.cpp if (shouldUseInnerURL(url) && SchemeRegistry::shouldTreatURLSchemeAsSecure(extractInnerURL(url).protocol())) protocol 361 Source/platform/weborigin/SecurityOrigin.cpp String protocol = url.protocol().lower(); protocol 366 Source/platform/weborigin/SecurityOrigin.cpp if (SchemeRegistry::canDisplayOnlyIfCanRequest(protocol)) protocol 369 Source/platform/weborigin/SecurityOrigin.cpp if (SchemeRegistry::shouldTreatURLSchemeAsDisplayIsolated(protocol)) protocol 370 Source/platform/weborigin/SecurityOrigin.cpp return m_protocol == protocol || SecurityPolicy::isAccessToURLWhiteListed(this, url); protocol 372 Source/platform/weborigin/SecurityOrigin.cpp if (SchemeRegistry::shouldTreatURLSchemeAsLocal(protocol)) protocol 468 Source/platform/weborigin/SecurityOrigin.cpp PassRefPtr<SecurityOrigin> SecurityOrigin::create(const String& protocol, const String& host, int port) protocol 473 Source/platform/weborigin/SecurityOrigin.cpp return create(KURL(KURL(), protocol + "://" + host + ":" + String::number(port) + "/")); protocol 53 Source/platform/weborigin/SecurityOrigin.h static PassRefPtr<SecurityOrigin> create(const String& protocol, const String& host, int port); protocol 80 Source/platform/weborigin/SecurityOrigin.h String protocol() const { return m_protocol; } protocol 42 Source/platform/weborigin/SecurityOriginHash.h origin->protocol().impl() ? origin->protocol().impl()->hash() : 0, protocol 1910 Source/web/WebFrameImpl.cpp if (SchemeRegistry::shouldTreatURLSchemeAsNotAllowingJavascriptURLs(frame()->document()->url().protocol())) protocol 79 Source/web/WebSecurityOrigin.cpp return m_private->protocol(); protocol 80 Source/web/WebSocketImpl.cpp void WebSocketImpl::connect(const WebURL& url, const WebString& protocol) protocol 82 Source/web/WebSocketImpl.cpp m_private->connect(url, protocol); protocol 58 Source/web/WebSocketImpl.h virtual void connect(const WebURL&, const WebString& protocol) OVERRIDE; protocol 49 public/platform/WebRTCDataChannelHandler.h virtual WebString protocol() const = 0; protocol 49 public/platform/WebRTCDataChannelInit.h WebString protocol; protocol 68 public/web/WebSecurityOrigin.h BLINK_EXPORT WebString protocol() const; protocol 86 public/web/WebSocket.h virtual void connect(const WebURL&, const WebString& protocol) = 0;