Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/p2p/client/
Dhttpportallocator.cc82 const std::string &user_agent) in HttpPortAllocatorBase() argument
83 : BasicPortAllocator(network_manager, socket_factory), agent_(user_agent) { in HttpPortAllocatorBase()
91 const std::string &user_agent) in HttpPortAllocatorBase() argument
92 : BasicPortAllocator(network_manager), agent_(user_agent) { in HttpPortAllocatorBase()
112 const std::string& user_agent) in HttpPortAllocatorSessionBase() argument
116 relay_token_(relay_token), agent_(user_agent), attempts_(0) { in HttpPortAllocatorSessionBase()
Dhttpportallocator.h44 const std::string& user_agent);
47 const std::string& user_agent);
82 const std::string& user_agent() const { in user_agent() function
113 const std::string& user_agent() const { in user_agent() function
Dautoportallocator.h25 const std::string& user_agent) in AutoPortAllocator() argument
26 : cricket::HttpPortAllocator(network_manager, user_agent) { in AutoPortAllocator()
/external/libcups/cups/
Dusersys.c489 cupsSetUserAgent(const char *user_agent)/* I - User-Agent string or @code NULL@ */ in cupsSetUserAgent() argument
501 if (user_agent) in cupsSetUserAgent()
503 strlcpy(cg->user_agent, user_agent, sizeof(cg->user_agent)); in cupsSetUserAgent()
512 snprintf(cg->user_agent, sizeof(cg->user_agent), in cupsSetUserAgent()
528 snprintf(cg->user_agent, sizeof(cg->user_agent), in cupsSetUserAgent()
569 if (!cg->user_agent[0]) in cupsUserAgent()
572 return (cg->user_agent); in cupsUserAgent()
Dcups-private.h147 user_agent[256],/* User-Agent string */ member
/external/webrtc/webrtc/base/
Dautodetectproxy_unittest.cc39 bool Create(const std::string& user_agent, in Create() argument
45 auto_detect_proxy_ = new AutoDetectProxy(user_agent); in Create()
Dhttprequest.cc51 HttpRequest::HttpRequest(const std::string& user_agent) in HttpRequest() argument
56 client_(user_agent.c_str(), NULL), in HttpRequest()
Dsslsocketfactory.cc103 const std::string& user_agent) in SslSocketFactory() argument
105 agent_(user_agent), in SslSocketFactory()
Dautodetectproxy.cc31 AutoDetectProxy::AutoDetectProxy(const std::string& user_agent) in AutoDetectProxy() argument
32 : agent_(user_agent), resolver_(NULL), socket_(NULL), next_(0) { in AutoDetectProxy()
Dsslsocketfactory.h25 SslSocketFactory(SocketFactory* factory, const std::string& user_agent);
Dautodetectproxy.h33 explicit AutoDetectProxy(const std::string& user_agent);
Dhttprequest.h32 HttpRequest(const std::string &user_agent);
/external/libmojo/mojo/common/
DBUILD.gn35 "user_agent.cc",
36 "user_agent.h",
/external/libbrillo/brillo/http/
Dhttp_transport_fake.cc39 const std::string& user_agent, in CreateConnection() argument
49 if (!user_agent.empty()) { in CreateConnection()
51 std::make_pair(http::request_header::kUserAgent, user_agent)); in CreateConnection()
Dhttp_transport.h55 const std::string& user_agent,
Dhttp_transport_curl.cc120 const std::string& user_agent, in CreateConnection() argument
147 if (code == CURLE_OK && !user_agent.empty()) { in CreateConnection()
149 curl_handle, CURLOPT_USERAGENT, user_agent); in CreateConnection()
Dhttp_request.cc233 void Request::SetUserAgent(const std::string& user_agent) { in SetUserAgent() argument
235 user_agent_ = user_agent; in SetUserAgent()
Dhttp_transport_curl.h47 const std::string& user_agent,
Dhttp_transport_fake.h90 const std::string& user_agent,
/external/webrtc/webrtc/p2p/base/
Dbasicpacketsocketfactory.cc109 const ProxyInfo& proxy_info, const std::string& user_agent, int opts) { in CreateClientTcpSocket() argument
130 socket, user_agent, proxy_info.address, in CreateClientTcpSocket()
Dpacketsocketfactory.h47 const std::string& user_agent,
Dbasicpacketsocketfactory.h39 const std::string& user_agent,
Dport.h246 void set_proxy(const std::string& user_agent, in set_proxy() argument
248 user_agent_ = user_agent; in set_proxy()
251 const std::string& user_agent() { return user_agent_; } in user_agent() function
Dportallocator.h199 const std::string& user_agent() const { return agent_; } in user_agent() function
/external/v8/samples/
Dprocess.cc580 const string& user_agent);
596 const string& user_agent) in StringHttpRequest() argument
600 user_agent_(user_agent) { } in StringHttpRequest()

12