Searched refs:net_error (Results 1 - 25 of 103) sorted by relevance

12345

/external/chromium_org/net/test/url_request/
H A Durl_request_failed_job.cc24 int net_error; local
26 if (path[0] == '/' && base::StringToInt(path.c_str() + 1, &net_error)) {
27 CHECK_LT(net_error, 0);
28 CHECK_NE(net_error, net::ERR_IO_PENDING);
29 return net_error;
37 int net_error) {
38 CHECK_LT(net_error, 0);
39 CHECK_NE(net_error, net::ERR_IO_PENDING);
40 return GURL(scheme + "://" + hostname + "/" + base::IntToString(net_error));
47 int net_error)
35 GetMockUrl(const std::string& scheme, const std::string& hostname, int net_error) argument
45 URLRequestFailedJob(net::URLRequest* request, net::NetworkDelegate* network_delegate, int net_error) argument
73 GetMockHttpUrl(int net_error) argument
78 GetMockHttpsUrl(int net_error) argument
83 GetMockHttpUrlForHostname( int net_error, const std::string& hostname) argument
89 GetMockHttpsUrlForHostname( int net_error, const std::string& hostname) argument
[all...]
H A Durl_request_failed_job.h23 int net_error);
32 // asynchronously when started. |net_error| must be a valid net error code
34 static GURL GetMockHttpUrl(int net_error);
35 static GURL GetMockHttpsUrl(int net_error);
38 // the returned URL to return |net_error|.
39 static GURL GetMockHttpUrlForHostname(int net_error,
41 static GURL GetMockHttpsUrlForHostname(int net_error,
/external/chromium_org/ppapi/host/
H A Derror_conversion.h15 // Returns the same value as |net_error| if |net_error| is a positive number.
16 PPAPI_HOST_EXPORT int32_t NetErrorToPepperError(int net_error);
H A Derror_conversion.cc14 int32_t NetErrorToPepperError(int net_error) { argument
15 if (net_error > 0)
16 return base::checked_cast<int32_t>(net_error);
18 switch (net_error) {
/external/chromium_org/net/proxy/
H A Dproxy_retry_info.h16 ProxyRetryInfo() : try_while_bad(true), net_error(0) {}
31 int net_error; member in struct:net::ProxyRetryInfo
H A Dproxy_list.h82 // list of known bad proxies is given by |proxy_retry_info|. |net_error|
88 int net_error,
97 // |another_proxy_to_bypass| if non-empty. |net_error| should contain the
105 int net_error,
111 // |try_while_bad| is true. |net_error| should contain the network error
118 int net_error,
H A Dproxy_list.cc149 int net_error,
175 net_error,
187 int net_error,
201 retry_info.net_error = net_error;
213 int net_error,
227 net_error,
237 net_error,
148 Fallback(ProxyRetryInfoMap* proxy_retry_info, int net_error, const BoundNetLog& net_log) argument
183 AddProxyToRetryList(ProxyRetryInfoMap* proxy_retry_info, base::TimeDelta retry_delay, bool try_while_bad, const ProxyServer& proxy_to_retry, int net_error, const BoundNetLog& net_log) const argument
208 UpdateRetryInfoOnFallback( ProxyRetryInfoMap* proxy_retry_info, base::TimeDelta retry_delay, bool reconsider, const ProxyServer& another_proxy_to_bypass, int net_error, const BoundNetLog& net_log) const argument
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_net_log_parameters.cc29 int net_error,
32 dict->SetInteger("net_error", net_error);
33 if (net_error == net::OK)
50 int net_error) {
52 return base::Bind(&NetLogSimpleEntryCreationCallback, entry, net_error);
27 NetLogSimpleEntryCreationCallback( const disk_cache::SimpleEntryImpl* entry, int net_error, net::NetLog::LogLevel ) argument
48 CreateNetLogSimpleEntryCreationCallback( const SimpleEntryImpl* entry, int net_error) argument
H A Dsimple_net_log_parameters.h23 // |CreateEntry| or |OpenEntry| on a SimpleEntryImpl. Contains the |net_error|
28 int net_error);
/external/chromium_org/net/socket/
H A Dnss_ssl_util.h40 NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error,
H A Dsocket_net_log_params.cc17 base::Value* NetLogSocketErrorCallback(int net_error, argument
21 dict->SetInteger("net_error", net_error);
51 NetLog::ParametersCallback CreateNetLogSocketErrorCallback(int net_error, argument
53 return base::Bind(&NetLogSocketErrorCallback, net_error, os_error);
H A Dsocket_net_log_params.h17 NetLog::ParametersCallback CreateNetLogSocketErrorCallback(int net_error,
H A Dtcp_socket_win.cc35 int net_error = (rv == 0) ? OK : MapSystemError(WSAGetLastError()); local
36 DCHECK(!rv) << "Could not set socket receive buffer size: " << net_error;
37 return net_error;
43 int net_error = (rv == 0) ? OK : MapSystemError(WSAGetLastError()); local
44 DCHECK(!rv) << "Could not set socket send buffer size: " << net_error;
45 return net_error;
108 int net_error = MapSystemError(os_error); local
109 if (net_error == ERR_FAILED)
113 if (net_error == ERR_ADDRESS_UNREACHABLE &&
118 return net_error;
542 int net_error = MapSystemError(os_error); local
714 EndLoggingMultipleConnectAttempts(int net_error) argument
728 int net_error = MapSystemError(WSAGetLastError()); local
739 int net_error = ERR_ADDRESS_INVALID; local
850 LogConnectEnd(int net_error) argument
889 int net_error = MapSystemError(os_error); local
[all...]
/external/chromium_org/components/captive_portal/
H A Dcaptive_portal_testing_utils.cc46 int net_error,
49 if (net_error != net::OK) {
52 net_error));
45 CompleteURLFetch( int net_error, int status_code, const char* response_headers) argument
H A Dcaptive_portal_testing_utils.h34 void CompleteURLFetch(int net_error,
/external/chromium_org/components/domain_reliability/
H A Dutil.cc45 int net_error; member in struct:domain_reliability::__anon6492::NetErrorMapping
99 int net_error,
102 if (net_error == net::OK) {
112 if (net_error_map[i].net_error == net_error) {
98 GetDomainReliabilityBeaconStatus( int net_error, int http_response_code, std::string* beacon_status_out) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dauto_enrollment_client.h147 int net_error,
153 int net_error,
159 int net_error,
/external/chromium_org/chrome/browser/net/
H A Ddns_probe_runner.cc41 int net_error,
43 switch (net_error) {
126 int net_error,
132 result_ = EvaluateResponse(net_error, response);
40 EvaluateResponse( int net_error, const DnsResponse* response) argument
124 OnTransactionComplete( DnsTransaction* transaction, int net_error, const DnsResponse* response) argument
H A Ddns_probe_runner.h62 int net_error,
/external/chromium_org/components/nacl/browser/
H A Dpnacl_host.h136 void OnCacheInitialized(int net_error);
145 int net_error,
156 void OnTranslatedNexeStored(const TranslationID& id, int net_error);
164 void OnEntriesDoomed(const base::Closure& callback, int net_error);
/external/chromium_org/net/ssl/
H A Dopenssl_ssl_util.h65 int net_error,
/external/chromium_org/content/browser/download/
H A Ddownload_interrupt_reasons_impl.cc41 net::Error net_error, DownloadInterruptSource source) {
42 switch (net_error) {
40 ConvertNetErrorToInterruptReason( net::Error net_error, DownloadInterruptSource source) argument
/external/chromium_org/components/policy/core/common/cloud/
H A Dcloud_policy_client.h231 int net_error,
237 int net_error,
243 int net_error,
249 int net_error,
256 int net_error,
/external/chromium_org/net/dns/
H A Dhost_resolver_impl.cc287 int net_error,
294 dict->SetInteger("net_error", net_error);
320 base::Value* NetLogDnsTaskFailedCallback(int net_error, argument
324 dict->SetInteger("net_error", net_error);
392 int net_error) {
394 NetLog::TYPE_HOST_RESOLVER_IMPL_REQUEST, net_error);
566 typedef base::Callback<void(int net_error,
975 int net_error,
286 NetLogProcTaskFailedCallback(uint32 attempt_number, int net_error, int os_error, NetLog::LogLevel ) argument
389 LogFinishRequest(const BoundNetLog& source_net_log, const BoundNetLog& request_net_log, const HostResolver::RequestInfo& info, int net_error) argument
1052 OnTransactionComplete(const base::TimeTicks& start_time, DnsTransaction* transaction, int net_error, const DnsResponse* response) argument
1155 OnFailure(int net_error, DnsResponse::Result result) argument
1492 OnProcTaskComplete(base::TimeTicks start_time, int net_error, const AddressList& addr_list) argument
1563 OnDnsTaskFailure(const base::WeakPtr<DnsTask>& dns_task, base::TimeDelta duration, int net_error) argument
1720 CompleteRequestsWithError(int net_error) argument
1938 int net_error = ERR_UNEXPECTED; local
2022 ResolveAsIP(const Key& key, const RequestInfo& info, int* net_error, AddressList* addresses) argument
2057 ServeFromCache(const Key& key, const RequestInfo& info, int* net_error, AddressList* addresses) argument
2328 OnDnsTaskResolve(int net_error) argument
[all...]
/external/chromium_org/chrome/browser/safe_browsing/
H A Ddownload_feedback.cc58 int net_error,
143 int net_error,
160 if (net_error != net::OK)
166 if (net_error != net::OK)
141 FinishedUpload(base::Closure finish_callback, TwoPhaseUploader::State state, int net_error, int response_code, const std::string& response_data) argument

Completed in 6566 milliseconds

12345