userAgent 2800 Source/core/dom/Document.cpp return frame() ? frame()->loader().userAgent(url) : String(); userAgent 568 Source/core/dom/Document.h virtual String userAgent(const KURL&) const OVERRIDE FINAL; userAgent 284 Source/core/dom/ExecutionContext.cpp return m_client->userAgent(url); userAgent 78 Source/core/dom/ExecutionContext.h String userAgent(const KURL&) const; userAgent 57 Source/core/dom/ExecutionContextClient.h virtual String userAgent(const KURL&) const = 0; userAgent 87 Source/core/frame/Navigator.cpp return m_frame->loader().userAgent(m_frame->document()->url()); userAgent 62 Source/core/frame/Navigator.h virtual String userAgent() const OVERRIDE; userAgent 35 Source/core/frame/NavigatorBase.h virtual String userAgent() const = 0; userAgent 56 Source/core/frame/NavigatorID.cpp const String& agent = navigator.userAgent(); userAgent 62 Source/core/frame/NavigatorID.cpp return navigator.userAgent(); userAgent 44 Source/core/frame/NavigatorID.h static String userAgent(const NavigatorBase&); userAgent 3300 Source/core/html/HTMLMediaElement.cpp if (ShadowRoot* userAgent = userAgentShadowRoot()) { userAgent 3301 Source/core/html/HTMLMediaElement.cpp Node* node = userAgent->firstChild(); userAgent 484 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::applyUserAgentOverride(String* userAgent) userAgent 488 Source/core/inspector/InspectorResourceAgent.cpp *userAgent = userAgentOverride; userAgent 623 Source/core/inspector/InspectorResourceAgent.cpp void InspectorResourceAgent::setUserAgentOverride(ErrorString*, const String& userAgent) userAgent 625 Source/core/inspector/InspectorResourceAgent.cpp m_state->setString(ResourceAgentState::userAgentOverride, userAgent); userAgent 107 Source/core/inspector/InspectorResourceAgent.h void applyUserAgentOverride(String* userAgent); userAgent 133 Source/core/inspector/InspectorResourceAgent.h virtual void setUserAgentOverride(ErrorString*, const String& userAgent) OVERRIDE; userAgent 223 Source/core/loader/EmptyClients.h virtual String userAgent(const KURL&) OVERRIDE { return ""; } userAgent 1057 Source/core/loader/FrameLoader.cpp String userAgent = m_client->userAgent(url); userAgent 1058 Source/core/loader/FrameLoader.cpp InspectorInstrumentation::applyUserAgentOverride(m_frame, &userAgent); userAgent 1059 Source/core/loader/FrameLoader.cpp return userAgent; userAgent 1301 Source/core/loader/FrameLoader.cpp String userAgent = this->userAgent(request.url()); userAgent 1302 Source/core/loader/FrameLoader.cpp ASSERT(!userAgent.isNull()); userAgent 1303 Source/core/loader/FrameLoader.cpp request.setHTTPUserAgent(AtomicString(userAgent)); userAgent 148 Source/core/loader/FrameLoader.h String userAgent(const KURL&) const; userAgent 155 Source/core/loader/FrameLoaderClient.h virtual String userAgent(const KURL&) = 0; userAgent 51 Source/core/workers/DedicatedWorkerGlobalScope.cpp DedicatedWorkerGlobalScope::DedicatedWorkerGlobalScope(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) userAgent 52 Source/core/workers/DedicatedWorkerGlobalScope.cpp : WorkerGlobalScope(url, userAgent, thread, timeOrigin, workerClients) userAgent 67 Source/core/workers/DedicatedWorkerGlobalScope.h DedicatedWorkerGlobalScope(const KURL&, const String& userAgent, DedicatedWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>); userAgent 60 Source/core/workers/SharedWorkerGlobalScope.cpp SharedWorkerGlobalScope::SharedWorkerGlobalScope(const String& name, const KURL& url, const String& userAgent, SharedWorkerThread* thread, PassOwnPtr<WorkerClients> workerClients) userAgent 61 Source/core/workers/SharedWorkerGlobalScope.cpp : WorkerGlobalScope(url, userAgent, thread, monotonicallyIncreasingTime(), workerClients) userAgent 64 Source/core/workers/SharedWorkerGlobalScope.h SharedWorkerGlobalScope(const String& name, const KURL&, const String& userAgent, SharedWorkerThread*, PassOwnPtr<WorkerClients>); userAgent 133 Source/core/workers/Worker.cpp m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(m_scriptLoader->url()), m_scriptLoader->script(), startMode); userAgent 77 Source/core/workers/WorkerGlobalScope.cpp WorkerGlobalScope::WorkerGlobalScope(const KURL& url, const String& userAgent, WorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) userAgent 79 Source/core/workers/WorkerGlobalScope.cpp , m_userAgent(userAgent) userAgent 77 Source/core/workers/WorkerGlobalScope.h virtual String userAgent(const KURL&) const OVERRIDE FINAL; userAgent 133 Source/core/workers/WorkerGlobalScope.h WorkerGlobalScope(const KURL&, const String& userAgent, WorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>); userAgent 49 Source/core/workers/WorkerGlobalScopeProxy.h virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) = 0; userAgent 108 Source/core/workers/WorkerMessagingProxy.cpp void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode) userAgent 114 Source/core/workers/WorkerMessagingProxy.cpp OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release()); userAgent 55 Source/core/workers/WorkerMessagingProxy.h virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) OVERRIDE; userAgent 33 Source/core/workers/WorkerNavigator.cpp WorkerNavigator::WorkerNavigator(const String& userAgent) userAgent 34 Source/core/workers/WorkerNavigator.cpp : m_userAgent(userAgent) userAgent 42 Source/core/workers/WorkerNavigator.h static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgent) userAgent 44 Source/core/workers/WorkerNavigator.h return adoptRefWillBeNoop(new WorkerNavigator(userAgent)); userAgent 48 Source/core/workers/WorkerNavigator.h virtual String userAgent() const OVERRIDE; userAgent 38 Source/core/workers/WorkerThreadStartupData.cpp WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients) userAgent 40 Source/core/workers/WorkerThreadStartupData.cpp , m_userAgent(userAgent.isolatedCopy()) userAgent 50 Source/core/workers/WorkerThreadStartupData.h static PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients) userAgent 52 Source/core/workers/WorkerThreadStartupData.h return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients)); userAgent 68 Source/core/workers/WorkerThreadStartupData.h WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients>); userAgent 50 Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp ServiceWorkerGlobalScope::ServiceWorkerGlobalScope(const KURL& url, const String& userAgent, ServiceWorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) : userAgent 51 Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp WorkerGlobalScope(url, userAgent, thread, timeOrigin, workerClients) userAgent 63 Source/modules/serviceworkers/ServiceWorkerGlobalScope.h ServiceWorkerGlobalScope(const KURL&, const String& userAgent, ServiceWorkerThread*, double timeOrigin, PassOwnPtr<WorkerClients>); userAgent 225 Source/modules/websockets/WebSocketHandshake.cpp fields.append("User-Agent: " + m_document->userAgent(m_document->url())); userAgent 272 Source/modules/websockets/WebSocketHandshake.cpp request->addHeaderField("User-Agent", AtomicString(m_document->userAgent(m_document->url()))); userAgent 589 Source/web/FrameLoaderClientImpl.cpp return blink::Platform::current()->userAgent(); userAgent 113 Source/web/FrameLoaderClientImpl.h virtual WTF::String userAgent(const WebCore::KURL&) OVERRIDE; userAgent 256 Source/web/WebEmbeddedWorkerImpl.cpp m_workerStartData.userAgent, userAgent 354 Source/web/WebSharedWorkerImpl.cpp OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(m_url, m_loadingDocument->userAgent(m_url), m_mainScriptLoader->script(), startMode, m_contentSecurityPolicy, static_cast<WebCore::ContentSecurityPolicyHeaderType>(m_policyType), workerClients.release()); userAgent 59 Source/web/tests/FrameLoaderClientImplTest.cpp void setUserAgentOverride(const WebString& userAgent) userAgent 61 Source/web/tests/FrameLoaderClientImplTest.cpp m_userAgentOverride = userAgent; userAgent 84 Source/web/tests/FrameLoaderClientImplTest.cpp void setUserAgentOverride(const WebString& userAgent) userAgent 86 Source/web/tests/FrameLoaderClientImplTest.cpp return m_webFrameClient.setUserAgentOverride(userAgent); userAgent 93 Source/web/tests/FrameLoaderClientImplTest.cpp WTF::CString userAgent = m_frameLoaderClientImpl->userAgent(dummyURL).utf8(); userAgent 94 Source/web/tests/FrameLoaderClientImplTest.cpp return WebString::fromUTF8(userAgent.data(), userAgent.length()); userAgent 106 Source/web/tests/FrameLoaderClientImplTest.cpp const WebString defaultUserAgent = userAgent(); userAgent 111 Source/web/tests/FrameLoaderClientImplTest.cpp EXPECT_TRUE(override.equals(userAgent())); userAgent 115 Source/web/tests/FrameLoaderClientImplTest.cpp EXPECT_TRUE(defaultUserAgent.equals(userAgent())); userAgent 321 public/platform/Platform.h virtual WebString userAgent() { return WebString(); } userAgent 47 public/web/WebEmbeddedWorkerStartData.h WebString userAgent;