Home
last modified time | relevance | path

Searched refs:user_agent (Results 1 – 25 of 132) sorted by relevance

123456

/external/chromium_org/chrome/browser/sync/glue/
Ddevice_info.cc151 std::string user_agent; in MakeUserAgentForSyncApi() local
152 user_agent = "Chrome "; in MakeUserAgentForSyncApi()
154 user_agent += "WIN "; in MakeUserAgentForSyncApi()
156 user_agent += "CROS "; in MakeUserAgentForSyncApi()
159 user_agent += "ANDROID-TABLET "; in MakeUserAgentForSyncApi()
161 user_agent += "ANDROID-PHONE "; in MakeUserAgentForSyncApi()
163 user_agent += "LINUX "; in MakeUserAgentForSyncApi()
165 user_agent += "FREEBSD "; in MakeUserAgentForSyncApi()
167 user_agent += "OPENBSD "; in MakeUserAgentForSyncApi()
169 user_agent += "MAC "; in MakeUserAgentForSyncApi()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dhttpportallocator.cc100 const std::string &user_agent) in HttpPortAllocatorBase() argument
101 : BasicPortAllocator(network_manager, socket_factory), agent_(user_agent) { in HttpPortAllocatorBase()
109 const std::string &user_agent) in HttpPortAllocatorBase() argument
110 : BasicPortAllocator(network_manager), agent_(user_agent) { in HttpPortAllocatorBase()
130 const std::string& user_agent) in HttpPortAllocatorSessionBase() argument
134 relay_token_(relay_token), agent_(user_agent), attempts_(0) { in HttpPortAllocatorSessionBase()
235 const std::string &user_agent) in HttpPortAllocator() argument
236 : HttpPortAllocatorBase(network_manager, socket_factory, user_agent) { in HttpPortAllocator()
241 const std::string &user_agent) in HttpPortAllocator() argument
242 : HttpPortAllocatorBase(network_manager, user_agent) { in HttpPortAllocator()
[all …]
Dhttpportallocator.h55 const std::string& user_agent);
58 const std::string& user_agent);
93 const std::string& user_agent() const { in user_agent() function
124 const std::string& user_agent() const { in user_agent() function
153 const std::string& user_agent);
156 const std::string& user_agent);
Dautoportallocator.h44 const std::string& user_agent) in AutoPortAllocator() argument
45 : cricket::HttpPortAllocator(network_manager, user_agent) { in AutoPortAllocator()
Dconnectivitychecker_unittest.cc142 const std::string& user_agent) in FakeHttpPortAllocator() argument
143 : HttpPortAllocator(network_manager, user_agent) { in FakeHttpPortAllocator()
170 const std::string& user_agent, in ConnectivityCheckerForTest() argument
176 user_agent, in ConnectivityCheckerForTest()
205 const std::string& user_agent, in CreatePortAllocator() argument
208 new FakeHttpPortAllocator(network_manager, user_agent); in CreatePortAllocator()
/external/chromium_org/components/cronet/android/
Durl_request_peer.cc113 std::string user_agent; in OnInitiateConnection() local
115 headers_.GetHeader(net::HttpRequestHeaders::kUserAgent, &user_agent); in OnInitiateConnection()
117 user_agent = context_->GetUserAgent(url_); in OnInitiateConnection()
119 size_t pos = user_agent.find(')'); in OnInitiateConnection()
121 user_agent.insert(pos, context_->version()); in OnInitiateConnection()
122 user_agent.insert(pos, kUserAgentFragment); in OnInitiateConnection()
125 net::HttpRequestHeaders::kUserAgent, user_agent, true /* override */); in OnInitiateConnection()
127 VLOG(context_->logging_level()) << "User agent: " << user_agent; in OnInitiateConnection()
/external/chromium_org/chrome/service/net/
Dservice_url_request_context.cc90 std::string user_agent; in MakeUserAgentForServiceProcess() local
98 base::StringAppendF(&user_agent, in MakeUserAgentForServiceProcess()
104 return user_agent; in MakeUserAgentForServiceProcess()
110 const std::string& user_agent, in ServiceURLRequestContext() argument
142 "en-us,fr", user_agent)); in ServiceURLRequestContext()
Dservice_url_request_context.h39 const std::string& user_agent,
57 std::string user_agent() const { in user_agent() function
/external/chromium_org/net/http/
Dproxy_client_socket.cc37 std::string user_agent; in BuildTunnelRequest() local
39 &user_agent)) in BuildTunnelRequest()
40 request_headers->SetHeader(HttpRequestHeaders::kUserAgent, user_agent); in BuildTunnelRequest()
/external/chromium_org/components/policy/core/browser/
Dbrowser_policy_connector_ios.mm22 explicit DeviceManagementServiceConfiguration(const std::string& user_agent)
23 : user_agent_(user_agent) {}
63 const std::string& user_agent,
66 user_agent_(user_agent) {
/external/chromium_org/tools/telemetry/telemetry/core/
Duser_agent_unittest.py5 from telemetry.core import user_agent
15 self.assertEquals(ua, user_agent.UA_TYPE_MAPPING['tablet'])
/external/chromium_org/net/url_request/
Dstatic_http_user_agent_settings.cc11 const std::string& user_agent) in StaticHttpUserAgentSettings() argument
13 user_agent_(user_agent) { in StaticHttpUserAgentSettings()
/external/chromium_org/sync/internal_api/
Dhttp_bridge.cc27 const std::string& user_agent) in RequestContextGetter() argument
31 user_agent_(user_agent) { in RequestContextGetter()
77 void HttpBridgeFactory::Init(const std::string& user_agent) { in Init() argument
88 baseline_request_context_getter_, user_agent); in Init()
124 const std::string& user_agent) in RequestContext() argument
128 DCHECK(!user_agent.empty()); in RequestContext()
164 user_agent)); in RequestContext()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dasynchttprequest.cc42 AsyncHttpRequest::AsyncHttpRequest(const std::string &user_agent) in AsyncHttpRequest() argument
49 factory_(Thread::Current()->socketserver(), user_agent), in AsyncHttpRequest()
51 client_(user_agent.c_str(), &pool_), in AsyncHttpRequest()
Dsslsocketfactory.h42 SslSocketFactory(SocketFactory* factory, const std::string& user_agent) in SslSocketFactory() argument
43 : factory_(factory), agent_(user_agent), autodetect_proxy_(true), in SslSocketFactory()
/external/chromium_org/third_party/webrtc/base/
Dasynchttprequest.cc25 AsyncHttpRequest::AsyncHttpRequest(const std::string &user_agent) in AsyncHttpRequest() argument
32 factory_(Thread::Current()->socketserver(), user_agent), in AsyncHttpRequest()
34 client_(user_agent.c_str(), &pool_), in AsyncHttpRequest()
Dsslsocketfactory.h25 SslSocketFactory(SocketFactory* factory, const std::string& user_agent) in SslSocketFactory() argument
26 : factory_(factory), agent_(user_agent), autodetect_proxy_(true), in SslSocketFactory()
/external/chromium_org/chrome/browser/net/
Dpreconnect.cc61 std::string user_agent; in PreconnectOnIOThread() local
63 user_agent = context->http_user_agent_settings()->GetUserAgent(); in PreconnectOnIOThread()
68 user_agent); in PreconnectOnIOThread()
/external/chromium_org/components/policy/core/common/cloud/
Duser_policy_request_context.cc18 const std::string& user_agent) in UserPolicyRequestContext() argument
21 http_user_agent_settings_("*", user_agent) { in UserPolicyRequestContext()
Dsystem_policy_request_context.cc17 const std::string& user_agent) in SystemPolicyRequestContext() argument
19 http_user_agent_settings_("*", user_agent) { in SystemPolicyRequestContext()
/external/chromium_org/chrome/browser/sessions/
Dsession_tab_helper.cc42 void SessionTabHelper::UserAgentOverrideSet(const std::string& user_agent) { in UserAgentOverrideSet() argument
48 session->SetTabUserAgentOverride(window_id(), session_id(), user_agent); in UserAgentOverrideSet()
/external/chromium_org/content/common/
Duser_agent_ios.mm5 #include "content/public/common/user_agent.h"
117 std::string user_agent;
118 base::StringAppendF(&user_agent,
127 return user_agent;
Duser_agent.cc184 std::string user_agent; in BuildUserAgentFromOSAndProduct() local
186 &user_agent, in BuildUserAgentFromOSAndProduct()
194 return user_agent; in BuildUserAgentFromOSAndProduct()
/external/chromium_org/components/feedback/
Dfeedback_common.h72 std::string user_agent() const { return user_agent_; } in user_agent() function
91 void set_user_agent(const std::string& user_agent) { in set_user_agent() argument
92 user_agent_ = user_agent; in set_user_agent()
/external/chromium_org/components/autofill/content/browser/risk/
Dfingerprint.cc196 const std::string& user_agent,
273 const std::string& user_agent, in FingerprintDataLoader() argument
286 user_agent_(user_agent), in FingerprintDataLoader()
453 const std::string& user_agent, in GetFingerprintInternal() argument
460 install_time, app_locale, user_agent, timeout, in GetFingerprintInternal()
475 const std::string& user_agent, in GetFingerprint() argument
487 charset, accept_languages, install_time, app_locale, user_agent, in GetFingerprint()

123456