Searched defs:response_code (Results 1 - 25 of 134) sorted by relevance

123456

/external/chromium_org/net/http/
H A Dmock_sspi_library_win.h81 // |response_code| is used as the return value for
82 // |QuerySecurityPackageInfo()|. If |response_code| is SEC_E_OK,
90 SECURITY_STATUS response_code,
96 SECURITY_STATUS response_code; member in struct:net::MockSSPILibrary::PackageQuery
H A Dhttp_response_headers.h202 static bool IsRedirectResponseCode(int response_code);
282 int response_code() const { return response_code_; } function in class:net::HttpResponseHeaders
H A Dmock_gssapi_library_posix.h58 OM_uint32 response_code,
66 OM_uint32 response_code; member in struct:net::test::MockGSSAPILibrary::SecurityContextQuery
106 // |response_code| is used as the return value for |init_sec_context()|.
107 // If |response_code| is GSS_S_COMPLETE,
112 OM_uint32 response_code,
/external/chromium_org/components/feedback/
H A Dfeedback_uploader_delegate.cc38 int response_code = source->GetResponseCode(); local
39 if (response_code == kHttpPostSuccessNoContent) {
44 if (response_code == kHttpPostFailNoConnection) {
46 } else if ((response_code > kHttpPostFailClientError) &&
47 (response_code < kHttpPostFailServerError)) {
48 error_stream << "Client error: HTTP response code " << response_code; local
49 } else if (response_code > kHttpPostFailServerError) {
50 error_stream << "Server error: HTTP response code " << response_code; local
52 error_stream << "Unknown error: HTTP response code " << response_code; local
/external/chromium_org/components/metrics/net/
H A Dnet_metrics_log_uploader.cc53 int response_code = source->GetResponseCode(); local
54 if (response_code == net::URLFetcher::RESPONSE_CODE_INVALID)
55 response_code = -1;
56 on_upload_complete_.Run(response_code);
/external/chromium_org/chrome/browser/supervised_user/experimental/
H A Dsupervised_user_blacklist_downloader.cc59 int response_code = source->GetResponseCode(); local
60 if (response_code != net::HTTP_OK) {
61 DLOG(WARNING) << "HTTP error " << response_code;
/external/chromium_org/chrome/browser/sync/test/
H A Dtest_http_bridge_factory.cc10 int* response_code) {
9 MakeSynchronousPost(int* error_code, int* response_code) argument
/external/chromium_org/components/captive_portal/
H A Dcaptive_portal_detector.h32 response_code(net::URLFetcher::RESPONSE_CODE_INVALID) {
36 int response_code; member in struct:captive_portal::CaptivePortalDetector::Results
/external/chromium_org/net/url_request/
H A Durl_request_redirect_job.cc26 ResponseCode response_code,
30 response_code_(response_code),
23 URLRequestRedirectJob(URLRequest* request, NetworkDelegate* network_delegate, const GURL& redirect_destination, ResponseCode response_code, const std::string& redirect_reason) argument
H A Durl_request_throttler_test_support.cc27 int response_code)
28 : fake_response_code_(response_code) {
34 int response_code)
37 fake_response_code_(response_code) {
26 MockURLRequestThrottlerHeaderAdapter( int response_code) argument
31 MockURLRequestThrottlerHeaderAdapter( const std::string& retry_value, const std::string& opt_out_value, int response_code) argument
/external/chromium_org/chrome/browser/chromeos/attestation/
H A Dattestation_ca_client_unittest.cc43 void SendResponse(net::URLRequestStatus::Status status, int response_code) { argument
47 fetcher->set_response_code(response_code);
/external/chromium_org/chrome/browser/chromeos/login/
H A Deula_browsertest.cc40 net::HttpStatusCode response_code,
43 new net::FakeURLFetcher(url, d, response_data, response_code, status));
36 CreateURLFetcher( const GURL& url, net::URLFetcherDelegate* d, const std::string& response_data, net::HttpStatusCode response_code, net::URLRequestStatus::Status status) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Dtwo_phase_uploader_unittest.cc32 int response_code,
36 response_code_ = response_code;
29 FinishCallback(scoped_refptr<MessageLoopRunner> runner, TwoPhaseUploader::State state, int net_error, int response_code, const std::string& response) argument
H A Dtwo_phase_uploader.cc50 void Finish(int net_error, int response_code, const std::string& response);
99 int response_code = source->GetResponseCode(); local
102 << " " << status.status() << " " << response_code;
107 Finish(status.error(), response_code, std::string());
117 if (response_code != 201) {
119 << response_code;
120 Finish(net::OK, response_code, response);
127 Finish(net::OK, response_code, std::string());
136 if (response_code != 200) {
138 << response_code;
183 Finish(int net_error, int response_code, const std::string& response) argument
[all...]
/external/chromium_org/chromeos/network/portal_detector/
H A Dnetwork_portal_detector.h34 response_code(net::URLFetcher::RESPONSE_CODE_INVALID) {
38 return status == o.status && response_code == o.response_code;
42 int response_code; member in struct:chromeos::NetworkPortalDetector::CaptivePortalState
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_signin_helper_unittest.cc69 int response_code,
78 fetcher->set_response_code(response_code);
67 SetUpFetcherResponseAndCompleteRequest( const std::string& url, int response_code, const net::ResponseCookies& cookies, const std::string& response_string) argument
/external/chromium_org/components/copresence/rpc/
H A Dhttp_post.cc83 int response_code = source->GetResponseCode(); local
86 if (response_code < 0) {
93 } else if (response_code != net::HTTP_OK) {
95 << response_code << ". Response:\n" << response;
99 response_callback_.Run(response_code, response);
/external/chromium_org/net/tools/quic/
H A Dquic_in_memory_cache_test.cc50 const StringPiece& response_code,
58 response_code,
89 EXPECT_EQ("200", response->headers().response_code());
95 EXPECT_EQ("200", response->headers().response_code());
108 EXPECT_EQ("200", response->headers().response_code());
122 EXPECT_EQ("200", response->headers().response_code());
47 AddToCache(const StringPiece& method, const StringPiece& path, const StringPiece& version, const StringPiece& response_code, const StringPiece& response_detail, const StringPiece& body) argument
/external/chromium_org/remoting/host/setup/
H A Doauth_client.cc79 void OAuthClient::OnNetworkError(int response_code) { argument
/external/chromium_org/sync/internal_api/
H A Dsyncapi_server_connection_manager.cc52 int response_code = 0; local
53 if (!http->MakeSynchronousPost(&error_code, &response_code)) {
61 response->response_code = response_code;
66 if (response->response_code < 400)
68 else if (response->response_code == net::HTTP_UNAUTHORIZED)
/external/chromium_org/chrome/browser/chromeos/
H A Dcustomization_wallpaper_downloader.cc151 const int response_code = source->GetResponseCode(); local
155 (response_code >= net::HTTP_INTERNAL_SERVER_ERROR &&
156 response_code < (net::HTTP_INTERNAL_SERVER_ERROR + 100));
/external/chromium_org/chrome/browser/extensions/
H A Dwebstore_install_helper.cc92 int response_code = local
95 response_code / 100 == 4 || response_code / 100 == 5) {
/external/chromium_org/chrome/browser/local_discovery/
H A Dprivet_url_fetcher.h107 int response_code() const { return url_fetcher_->GetResponseCode(); } function in class:local_discovery::PrivetURLFetcher
H A Dprivetv3_setup_flow_unittest.cc143 void SimulateFetch(int response_code, const std::string& response) { argument
148 fetcher->set_response_code(response_code);
/external/chromium_org/chrome/browser/ui/omnibox/
H A Domnibox_navigation_observer.cc30 bool ResponseCodeIndicatesSuccess(int response_code) { argument
31 return ((response_code / 100) == 2) || (response_code == 401) ||
32 (response_code == 407);
131 int response_code = source->GetResponseCode(); local
133 (status.is_success() && ResponseCodeIndicatesSuccess(response_code)) ||
135 ((response_code / 100) == 3) &&

Completed in 590 milliseconds

123456