Home
last modified time | relevance | path

Searched refs:kUserAgent (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
Dautodetectproxy_unittest.cc19 static const char kUserAgent[] = ""; variable
78 ASSERT_TRUE(Create(kUserAgent, in TestCopesWithProxy()
123 ASSERT_TRUE(Create(kUserAgent, in TEST_F()
/external/chromium_org/net/http/
Dproxy_client_socket.cc38 if (request_info.extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in BuildTunnelRequest()
40 request_headers->SetHeader(HttpRequestHeaders::kUserAgent, user_agent); in BuildTunnelRequest()
Dhttp_network_layer_unittest.cc315 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F()
354 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F()
387 request_info.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_F()
Dhttp_request_headers.h79 static const char kUserAgent[]; variable
Dhttp_request_headers.cc37 const char HttpRequestHeaders::kUserAgent[] = "User-Agent"; member in net::HttpRequestHeaders
Dhttp_proxy_client_socket.cc65 request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in HttpProxyClientSocket()
Dhttp_network_transaction_unittest.cc6805 request.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_P()
6844 request.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in TEST_P()
/external/chromium_org/components/autofill/content/browser/risk/
Dfingerprint_browsertest.cc53 const char kUserAgent[] = "TestUserAgent"; variable
141 EXPECT_EQ(kUserAgent, machine.user_agent()); in GetFingerprintTestCallback()
204 kUserAgent, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/components/policy/core/common/cloud/
Dmock_device_management_service.cc19 const char kUserAgent[] = "Chrome 1.2.3(456)"; variable
140 return kUserAgent; in GetAgentParameter()
/external/chromium_org/components/cronet/android/
Durl_request_adapter.cc136 if (!headers_.HasHeader(net::HttpRequestHeaders::kUserAgent)) { in OnInitiateConnection()
140 net::HttpRequestHeaders::kUserAgent, user_agent, true /* override */); in OnInitiateConnection()
/external/chromium_org/chrome/common/
Dchrome_content_client.cc422 if (command_line->HasSwitch(switches::kUserAgent)) { in GetUserAgent()
423 std::string ua = command_line->GetSwitchValueASCII(switches::kUserAgent); in GetUserAgent()
426 LOG(WARNING) << "Ignored invalid value for flag --" << switches::kUserAgent; in GetUserAgent()
Dchrome_switches.h330 extern const char kUserAgent[];
Dchrome_switches.cc1191 const char kUserAgent[] = "user-agent"; variable
/external/chromium_org/chrome/browser/net/
Dpreconnect.cc67 request_info.extra_headers.SetHeader(net::HttpRequestHeaders::kUserAgent, in PreconnectOnIOThread()
/external/chromium_org/sync/tools/
Dsync_client.cc411 const char kUserAgent[] = "sync_client"; in SyncClientMain() local
419 post_factory->Init(kUserAgent); in SyncClientMain()
/external/chromium_org/android_webview/browser/renderer_host/
Daw_resource_dispatcher_host_delegate.cc263 net::HttpRequestHeaders::kUserAgent, &user_agent); in DownloadStarting()
/external/chromium_org/net/spdy/
Dspdy_proxy_client_socket_unittest.cc42 static const char kUserAgent[] = "Mozilla/1.0"; variable
155 user_agent_(kUserAgent), in SpdyProxyClientSocketTest()
318 (*block)["user-agent"] = kUserAgent; in PopulateConnectRequestIR()
Dspdy_proxy_client_socket.cc54 request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent, in SpdyProxyClientSocket()
/external/chromium_org/net/socket/
Dclient_socket_pool_manager.cc170 request_extra_headers.GetHeader(HttpRequestHeaders::kUserAgent, in InitSocketPoolHelper()
/external/chromium_org/content/browser/android/
Ddownload_controller_android_impl.cc414 net::HttpRequestHeaders::kUserAgent, &user_agent); in DownloadInfoAndroid()
/external/chromium_org/net/url_request/
Durl_request_http_job.cc273 HttpRequestHeaders::kUserAgent, in Start()
Durl_request_unittest.cc6315 headers.SetHeader(HttpRequestHeaders::kUserAgent, "Lynx (textmode)"); in TEST_F()
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.cc1215 switches::kUserAgent, in AppendExtraCommandLineSwitches()