Home
last modified time | relevance | path

Searched refs:userAgent (Results 1 – 25 of 184) sorted by relevance

12345678

/external/webkit/Source/WebKit/gtk/tests/
Dtestwebsettings.c31 gchar* userAgent; in test_webkit_web_settings_user_agent() local
41 userAgent = NULL; in test_webkit_web_settings_user_agent()
43 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); in test_webkit_web_settings_user_agent()
44 g_assert_cmpstr(userAgent, ==, "testwebsettings/0.1"); in test_webkit_web_settings_user_agent()
45 g_free(userAgent); in test_webkit_web_settings_user_agent()
48 userAgent = NULL; in test_webkit_web_settings_user_agent()
50 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); in test_webkit_web_settings_user_agent()
51 g_assert_cmpstr(userAgent, ==, defaultUserAgent); in test_webkit_web_settings_user_agent()
52 g_free(userAgent); in test_webkit_web_settings_user_agent()
54 userAgent = NULL; in test_webkit_web_settings_user_agent()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DUserAgentParser.java50 public UserAgentParser(String userAgent) { in UserAgentParser() argument
51 super(userAgent); in UserAgentParser()
75 UserAgent userAgent = new UserAgent(); in parse() local
91 userAgent.addProductToken('(' + comment + ')'); in parse()
121 userAgent.addProductToken(productSb.toString()); in parse()
131 return userAgent; in parse()
136userAgent[] = { "User-Agent: Softphone/Beta1.5 \n", "User-Agent:Nist/Beta1 (beta version) \n", "Us… in main() local
141 for (int i = 0; i < userAgent.length; i++ ) { UserAgentParser parser = in main()
142 new UserAgentParser(userAgent[i]); UserAgent ua= (UserAgent) in main()
/external/webkit/Source/WebCore/workers/
DDedicatedWorkerThread.cpp42 …ead> DedicatedWorkerThread::create(const KURL& scriptURL, const String& userAgent, const String& s… in create() argument
44 …return adoptRef(new DedicatedWorkerThread(scriptURL, userAgent, sourceCode, workerLoaderProxy, wor… in create()
47 DedicatedWorkerThread::DedicatedWorkerThread(const KURL& url, const String& userAgent, const String… in DedicatedWorkerThread() argument
48 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerObjectProxy) in DedicatedWorkerThread()
57 …WorkerContext> DedicatedWorkerThread::createWorkerContext(const KURL& url, const String& userAgent) in createWorkerContext() argument
59 return DedicatedWorkerContext::create(url, userAgent, this); in createWorkerContext()
DSharedWorkerThread.cpp41 …Thread::create(const String& name, const KURL& scriptURL, const String& userAgent, const String& s… in create() argument
43 …return adoptRef(new SharedWorkerThread(name, scriptURL, userAgent, sourceCode, workerLoaderProxy, … in create()
46 SharedWorkerThread::SharedWorkerThread(const String& name, const KURL& url, const String& userAgent in SharedWorkerThread() argument
47 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerReportingProxy) in SharedWorkerThread()
56 …tr<WorkerContext> SharedWorkerThread::createWorkerContext(const KURL& url, const String& userAgent) in createWorkerContext() argument
58 return SharedWorkerContext::create(m_name, url, userAgent, this); in createWorkerContext()
DWorkerThread.cpp67 …tr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& s… in create()
69 return new WorkerThreadStartupData(scriptURL, userAgent, sourceCode); in create()
76 … WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode);
79 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, co… in WorkerThreadStartupData() argument
81 , m_userAgent(userAgent.crossThreadString()) in WorkerThreadStartupData()
86 WorkerThread::WorkerThread(const KURL& scriptURL, const String& userAgent, const String& sourceCode… in WorkerThread() argument
90 , m_startupData(WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode)) in WorkerThread()
DDedicatedWorkerThread.h43 …fPtr<DedicatedWorkerThread> create(const KURL& scriptURL, const String& userAgent, const String& s…
48 … virtual PassRefPtr<WorkerContext> createWorkerContext(const KURL& url, const String& userAgent);
52 …DedicatedWorkerThread(const KURL&, const String& userAgent, const String& sourceCode, WorkerLoader…
DSharedWorkerContext.cpp52 …:SharedWorkerContext(const String& name, const KURL& url, const String& userAgent, SharedWorkerThr… in SharedWorkerContext() argument
53 : WorkerContext(url, userAgent, thread) in SharedWorkerContext()
DSharedWorkerThread.h41 …aredWorkerThread> create(const String& name, const KURL&, const String& userAgent, const String& s…
48 …SharedWorkerThread(const String& name, const KURL&, const String& userAgent, const String& sourceC…
DSharedWorkerContext.h46 …orkerContext> create(const String& name, const KURL& url, const String& userAgent, SharedWorkerThr… in create() argument
48 return adoptRef(new SharedWorkerContext(name, url, userAgent, thread)); in create()
DDedicatedWorkerContext.h46 …static PassRefPtr<DedicatedWorkerContext> create(const KURL& url, const String& userAgent, Dedicat… in create() argument
48 return adoptRef(new DedicatedWorkerContext(url, userAgent, thread)); in create()
/external/okhttp/src/main/java/com/squareup/okhttp/
DTunnelRequest.java33 final String userAgent; field in TunnelRequest
43 public TunnelRequest(String host, int port, String userAgent, String proxyAuthorization) { in TunnelRequest() argument
45 if (userAgent == null) throw new NullPointerException("userAgent == null"); in TunnelRequest()
48 this.userAgent = userAgent; in TunnelRequest()
63 result.set("User-Agent", userAgent); in getRequestHeaders()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java65 private static UserAgentHeader userAgent; field in MessageFactoryImpl
142 if ( userAgent != null ) { in createRequest()
143 sipRequest.setHeader(userAgent); in createRequest()
201 if ( userAgent != null ) { in createRequest()
202 sipRequest.setHeader(userAgent); in createRequest()
250 if (userAgent != null) { in createRequest()
251 sipRequest.setHeader(userAgent); in createRequest()
310 if (userAgent != null) { in createResponse()
311 sipResponse.setHeader(userAgent); in createResponse()
362 if (userAgent != null) { in createResponse()
[all …]
DMessageFactoryExt.java24 public void setDefaultUserAgentHeader(UserAgentHeader userAgent); in setDefaultUserAgentHeader() argument
38 public void setDefaultServerHeader(ServerHeader userAgent); in setDefaultServerHeader() argument
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebFrameNetworkingContext.h28 …static PassRefPtr<WebFrameNetworkingContext> create(WebCore::Frame*, const WTF::String& userAgent);
31 WebFrameNetworkingContext(WebCore::Frame* frame, const WTF::String& userAgent) in WebFrameNetworkingContext() argument
33 , m_userAgent(userAgent) in WebFrameNetworkingContext()
37 virtual WTF::String userAgent() const;
DWebFrameNetworkingContext.cpp26 …WebFrameNetworkingContext> WebFrameNetworkingContext::create(Frame* frame, const String& userAgent) in create() argument
28 return adoptRef(new WebFrameNetworkingContext(frame, userAgent)); in create()
31 String WebFrameNetworkingContext::userAgent() const in userAgent() function in WebFrameNetworkingContext
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DFrameNetworkingContextWinCE.h34 …PassRefPtr<FrameNetworkingContextWinCE> create(WebCore::Frame* frame, const WTF::String& userAgent) in create() argument
36 return adoptRef(new FrameNetworkingContextWinCE(frame, userAgent)); in create()
39 virtual WTF::String userAgent() const;
44 FrameNetworkingContextWinCE(WebCore::Frame* frame, const WTF::String& userAgent);
DFrameNetworkingContextWinCE.cpp35 FrameNetworkingContextWinCE::FrameNetworkingContextWinCE(Frame* frame, const String& userAgent) in FrameNetworkingContextWinCE() argument
37 , m_userAgent(userAgent) in FrameNetworkingContextWinCE()
41 String FrameNetworkingContextWinCE::userAgent() const in userAgent() function in WebKit::FrameNetworkingContextWinCE
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DRequestHeaders.java53 private String userAgent; field in RequestHeaders
105 userAgent = value; in RequestHeaders()
169 return userAgent; in getUserAgent()
216 public void setUserAgent(String userAgent) { in setUserAgent() argument
217 if (this.userAgent != null) { in setUserAgent()
220 headers.add("User-Agent", userAgent); in setUserAgent()
221 this.userAgent = userAgent; in setUserAgent()
/external/webkit/Source/WebCore/page/
DWorkerNavigator.cpp35 WorkerNavigator::WorkerNavigator(const String& userAgent) in WorkerNavigator() argument
36 : m_userAgent(userAgent) in WorkerNavigator()
44 String WorkerNavigator::userAgent() const in userAgent() function in WebCore::WorkerNavigator
DWorkerNavigator.h41 …ssRefPtr<WorkerNavigator> create(const String& userAgent) { return adoptRef(new WorkerNavigator(us… in create() argument
44 virtual String userAgent() const;
/external/webkit/Source/WebCore/platform/network/win/
DResourceHandleWin.cpp47 static inline HINTERNET createInternetHandle(const String& userAgent, bool asynchronous) in createInternetHandle() argument
49 String userAgentString = userAgent; in createInternetHandle()
58 static HINTERNET asynchronousInternetHandle(const String& userAgent) in asynchronousInternetHandle() argument
60 static HINTERNET internetHandle = createInternetHandle(userAgent, true); in asynchronousInternetHandle()
82 …ebCoreSynchronousLoader(ResourceError&, ResourceResponse&, Vector<char>&, const String& userAgent);
99 …ader(ResourceError& error, ResourceResponse& response, Vector<char>& data, const String& userAgent) in WebCoreSynchronousLoader() argument
103 , m_internetHandle(createInternetHandle(userAgent, false)) in WebCoreSynchronousLoader()
277 d->m_internetHandle = asynchronousInternetHandle(context->userAgent()); in start()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParamBean.java54 public void setUserAgent (final String userAgent) { in setUserAgent() argument
55 HttpProtocolParams.setUserAgent(params, userAgent); in setUserAgent()
/external/webkit/Source/WebCore/inspector/front-end/
DInspectorFrontendHostStub.js43 var match = navigator.userAgent.match(/Windows NT/);
46 match = navigator.userAgent.match(/Mac OS X/);
/external/chromium/chrome/common/extensions/docs/js/
Dbootstrap.js20 (navigator.userAgent.indexOf("Chrome") > -1) &&
42 } else if ((navigator.userAgent.indexOf("Chrome") > -1) &&
/external/webkit/Source/WebKit/chromium/src/
DWebWorkerClientImpl.cpp135 const String& userAgent, in startWorkerContext() argument
146 userAgent, in startWorkerContext()
150 m_webWorker->startWorkerContext(scriptURL, userAgent, sourceCode); in startWorkerContext()
319 const String& userAgent, in startWorkerContextTask() argument
323 userAgent, sourceCode); in startWorkerContextTask()

12345678