Home
last modified time | relevance | path

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

123

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclient.py460 token_expiry, token_uri, user_agent, revoke_uri=None, argument
495 self.user_agent = user_agent
551 if self.user_agent is not None:
553 headers['user-agent'] = self.user_agent + ' ' + headers['user-agent']
555 headers['user-agent'] = self.user_agent
749 if self.user_agent is not None:
750 headers['user-agent'] = self.user_agent
903 def __init__(self, access_token, user_agent, revoke_uri=None): argument
922 user_agent,
1039 token_expiry, token_uri, user_agent, argument
[all …]
Dservice_account.py41 private_key_pkcs8_text, scopes, user_agent=None, argument
46 None, user_agent=user_agent, token_uri=token_uri, revoke_uri=revoke_uri)
54 self._user_agent = user_agent
119 user_agent=self._user_agent,
Ddevshell.py104 def __init__(self, user_agent=None): argument
112 user_agent)
Dmultistore_file.py76 def get_credential_storage(filename, client_id, user_agent, scope, argument
92 key = {'clientId': client_id, 'userAgent': user_agent,
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Duser_agent_unittest.py6 from telemetry.internal.browser import user_agent
18 self.assertEquals(ua, user_agent.UA_TYPE_MAPPING['mobile'])
28 self.assertEquals(ua, user_agent.UA_TYPE_MAPPING['tablet'])
38 self.assertEquals(ua, user_agent.UA_TYPE_MAPPING['desktop'])
/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/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_file.py75 user_agent = 'refresh_checker/1.0'
80 user_agent)
227 user_agent = 'refresh_checker/1.0'
229 credentials = AccessTokenCredentials(access_token, user_agent)
251 credentials.user_agent,
292 credentials.user_agent,
Dtest_keyring.py60 user_agent = 'refresh_checker/1.0'
65 user_agent)
Dtest_oauth2client.py205 self.assertEqual('Python client library', credentials.user_agent)
578 user_agent = 'refresh_checker/1.0'
582 user_agent, revoke_uri=GOOGLE_REVOKE_URI)
663 user_agent = u'refresh_checker/1.0'
666 user_agent, revoke_uri=revoke_uri)
694 user_agent = u'refresh_checker/1.0'
697 user_agent, revoke_uri=revoke_uri)
753 user_agent = 'refresh_checker/1.0'
754 self.credentials = AccessTokenCredentials(access_token, user_agent,
808 user_agent = 'fun/2.0'
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dcredentials_lib.py84 def GetCredentials(package_name, scopes, client_id, client_secret, user_agent, argument
96 'user_agent': user_agent or '%s-generated/0.1' % package_name,
503 user_agent = client_info['user_agent']
518 scopes=scopes, user_agent=user_agent)
524 service_account_kwargs={'user_agent': user_agent})
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/scripts/
Doauth2l_test.py70 self.user_agent = 'oauth2l/1.0'
72 self.access_token, self.user_agent)
154 self.user_agent = 'oauth2l/1.0'
156 self.access_token, self.user_agent)
268 self.user_agent = 'oauth2l/1.0'
270 self.access_token, self.user_agent)
/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);
/external/chromium-trace/catapult/third_party/WebOb/docs/pycon2011/
Drequest_table.rst61 user_agent user_agent cached_property
/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()
/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,
/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Drest_api.py138 self.user_agent = {'User-Agent': retry_params._user_agent}
243 headers.update(self.user_agent)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dandroid_browser_backend.py15 from telemetry.internal.browser import user_agent
89 user_agent_dict = user_agent.GetChromeUserAgentDictFromType(

123