/external/chromium/chrome/browser/sync/glue/ |
D | http_bridge_unittest.cc | 161 int response_code = 0; in TEST_F() local 162 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() 164 EXPECT_EQ(200, response_code); in TEST_F() 185 int response_code = 0; in TEST_F() local 186 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() 188 EXPECT_EQ(200, response_code); in TEST_F() 211 int response_code = 0; in TEST_F() local 212 bool success = http_bridge->MakeSynchronousPost(&os_error, &response_code); in TEST_F() 214 EXPECT_EQ(200, response_code); in TEST_F() 239 int response_code = 0; in TEST_F() local [all …]
|
/external/chromium/chrome/common/net/gaia/ |
D | gaia_oauth_client_unittest.cc | 29 MockOAuthFetcher(int response_code, in MockOAuthFetcher() argument 36 response_code_(response_code), in MockOAuthFetcher() 90 void set_response_code(int response_code) { in set_response_code() argument 91 response_code_ = response_code; in set_response_code() 142 MOCK_METHOD1(OnNetworkError, void(int response_code)); 146 int response_code = RC_INTERNAL_SERVER_ERROR; in TEST_F() local 149 EXPECT_CALL(delegate, OnNetworkError(response_code)) in TEST_F() 156 factory.set_response_code(response_code); in TEST_F() 169 int response_code = RC_INTERNAL_SERVER_ERROR; in TEST_F() local 179 factory.set_response_code(response_code); in TEST_F() [all …]
|
D | gaia_oauth_client.cc | 51 int response_code, 62 int response_code, 120 int response_code, in OnURLFetchComplete() argument 124 HandleResponse(source, url, status, response_code, data, &should_retry); in OnURLFetchComplete() 130 if (response_code < 500) in OnURLFetchComplete() 143 int response_code, in HandleResponse() argument 149 if (response_code == RC_BAD_REQUEST) { in HandleResponse() 156 if (response_code == RC_REQUEST_OK) { in HandleResponse() 174 delegate_->OnNetworkError(response_code); in HandleResponse()
|
D | gaia_auth_fetcher.cc | 368 int response_code) { in OnClientLoginFetched() argument 369 if (status.is_success() && response_code == RC_REQUEST_OK) { in OnClientLoginFetched() 385 int response_code) { in OnIssueAuthTokenFetched() argument 386 if (status.is_success() && response_code == RC_REQUEST_OK) { in OnIssueAuthTokenFetched() 399 int response_code) { in OnGetUserInfoFetched() argument 404 if (status.is_success() && response_code == RC_REQUEST_OK) { in OnGetUserInfoFetched() 423 int response_code, in OnURLFetchComplete() argument 428 OnClientLoginFetched(data, status, response_code); in OnURLFetchComplete() 430 OnIssueAuthTokenFetched(data, status, response_code); in OnURLFetchComplete() 432 OnGetUserInfoFetched(data, status, response_code); in OnURLFetchComplete()
|
D | gaia_auth_fetcher.h | 80 int response_code, 120 int response_code); 124 int response_code); 128 int response_code);
|
D | gaia_authenticator_unittest.cc | 26 unsigned long* response_code, string* response_body) { in Post() argument 27 *response_code = RC_REQUEST_OK; in Post()
|
/external/chromium/chrome/common/net/ |
D | url_fetcher_unittest.cc | 84 int response_code, 133 int response_code, in OnURLFetchComplete() argument 137 EXPECT_EQ(200, response_code); // HTTP OK in OnURLFetchComplete() 160 int response_code, 172 int response_code, 185 int response_code, 201 int response_code, 217 int response_code, 233 int response_code, 286 int response_code, [all …]
|
/external/chromium/chrome/browser/sync/engine/net/ |
D | syncapi_server_connection_manager.cc | 49 int response_code = 0; in Init() local 50 if (!http->MakeSynchronousPost(&os_error_code, &response_code)) { in Init() 58 response->response_code = response_code; in Init() 63 if (response->response_code < 400) in Init() 65 else if (response->response_code == RC_UNAUTHORIZED) in Init()
|
/external/chromium/chrome/browser/ |
D | alternate_nav_url_fetcher.cc | 93 int response_code, in OnURLFetchComplete() argument 97 SetStatusFromURLFetch(url, status, response_code); in OnURLFetchComplete() 141 int response_code) { in SetStatusFromURLFetch() argument 144 (((response_code / 100) != 2) && in SetStatusFromURLFetch() 145 (response_code != 401) && (response_code != 407)) || in SetStatusFromURLFetch()
|
D | bug_report_util.cc | 95 int response_code, 117 int response_code, in OnURLFetchComplete() argument 122 if (response_code == kHttpPostSuccessNoContent) { in OnURLFetchComplete() 138 if (response_code == kHttpPostFailNoConnection) { in OnURLFetchComplete() 140 } else if ((response_code > kHttpPostFailClientError) && in OnURLFetchComplete() 141 (response_code < kHttpPostFailServerError)) { in OnURLFetchComplete() 142 error_stream << "Client error: HTTP response code " << response_code; in OnURLFetchComplete() 143 } else if (response_code > kHttpPostFailServerError) { in OnURLFetchComplete() 144 error_stream << "Server error: HTTP response code " << response_code; in OnURLFetchComplete() 146 error_stream << "Unknown error: HTTP response code " << response_code; in OnURLFetchComplete()
|
D | alternate_nav_url_fetcher.h | 56 int response_code, 72 int response_code);
|
/external/chromium/net/http/ |
D | mock_sspi_library_win.cc | 68 if (package_query.response_code == SEC_E_OK) in QuerySecurityPackageInfo() 70 return package_query.response_code; in QuerySecurityPackageInfo() 99 SECURITY_STATUS response_code, in ExpectQuerySecurityPackageInfo() argument 101 PackageQuery package_query = {expected_package, response_code, in ExpectQuerySecurityPackageInfo()
|
D | http_cache_transaction.cc | 148 cancel_request &= (response_.headers->response_code() == 200); in ~Transaction() 667 if (new_response->headers->response_code() == 401 || in DoSuccessfulSendRequest() 668 new_response->headers->response_code() == 407) { in DoSuccessfulSendRequest() 693 if (new_response_->headers->response_code() == 416) { in DoSuccessfulSendRequest() 701 if (new_response->headers->response_code() == 304 || in DoSuccessfulSendRequest() 1464 if (response_.headers->response_code() == 206 || partial_.get()) { in BeginCacheRead() 1510 DCHECK_NE(206, response_.headers->response_code()); in BeginCacheValidation() 1521 if (response_.headers->response_code() != 206 && !partial_.get() && in BeginPartialCacheValidation() 1557 if (response_.headers->response_code() == 206) in ValidateEntryHeadersAndContinue() 1583 if (response_.headers->response_code() != 200 || truncated_ || in BeginExternallyConditionalizedRequest() [all …]
|
D | mock_gssapi_library_posix.h | 52 OM_uint32 response_code, 60 OM_uint32 response_code; member 106 OM_uint32 response_code,
|
D | http_proxy_client_socket.cc | 188 DCHECK_EQ(407, response_.headers->response_code()); in Read() 189 LogBlockedTunnelResponse(response_.headers->response_code()); in Read() 273 void HttpProxyClientSocket::LogBlockedTunnelResponse(int response_code) const { in LogBlockedTunnelResponse() 274 LOG(WARNING) << "Blocked proxy response with status " << response_code in LogBlockedTunnelResponse() 427 switch (response_.headers->response_code()) { in DoReadHeadersComplete() 458 LogBlockedTunnelResponse(response_.headers->response_code()); in DoReadHeadersComplete()
|
/external/chromium/chrome/browser/chromeos/login/ |
D | image_downloader.cc | 44 int response_code, in OnURLFetchComplete() argument 48 if (response_code != 200) { in OnURLFetchComplete() 49 LOG(ERROR) << "Response code is " << response_code; in OnURLFetchComplete()
|
D | cookie_fetcher.cc | 38 int response_code, in OnURLFetchComplete() argument 41 if (status.is_success() && response_code == kHttpSuccess) { in OnURLFetchComplete()
|
D | user_image_downloader.cc | 64 int response_code, in OnURLFetchComplete() argument 68 if (response_code != 200) { in OnURLFetchComplete() 69 LOG(ERROR) << "Response code is " << response_code; in OnURLFetchComplete()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | client_side_detection_service.cc | 155 int response_code, in OnURLFetchComplete() argument 159 HandleModelResponse(source, url, status, response_code, cookies, data); in OnURLFetchComplete() 162 HandlePhishingVerdict(source, url, status, response_code, cookies, data); in OnURLFetchComplete() 308 int response_code, in HandleModelResponse() argument 311 if (status.is_success() && RC_REQUEST_OK == response_code) { in HandleModelResponse() 339 int response_code, in HandlePhishingVerdict() argument 344 if (status.is_success() && RC_REQUEST_OK == response_code && in HandlePhishingVerdict() 353 << "response_code:" << response_code; in HandlePhishingVerdict()
|
D | client_side_detection_service.h | 68 int response_code, 195 int response_code, 204 int response_code,
|
/external/chromium/chrome/browser/remoting/ |
D | directory_add_request.cc | 65 int response_code, in OnURLFetchComplete() argument 85 switch (response_code) { in OnURLFetchComplete() 118 << " response_code: " << response_code in OnURLFetchComplete()
|
D | directory_add_request_unittest.cc | 28 void TestResult(int response_code, const std::string& data, in TestResult() argument 41 target_->OnURLFetchComplete(NULL, url, status_ok, response_code, in TestResult()
|
/external/chromium/net/ftp/ |
D | ftp_network_transaction.cc | 73 ErrorClass GetErrorClass(int response_code) { in GetErrorClass() argument 74 if (response_code >= 100 && response_code <= 199) in GetErrorClass() 77 if (response_code >= 200 && response_code <= 299) in GetErrorClass() 80 if (response_code >= 300 && response_code <= 399) in GetErrorClass() 83 if (response_code >= 400 && response_code <= 499) in GetErrorClass() 86 if (response_code >= 500 && response_code <= 599) in GetErrorClass() 90 NOTREACHED() << response_code; in GetErrorClass() 95 int GetNetErrorCodeForFtpResponseCode(int response_code) { in GetNetErrorCodeForFtpResponseCode() argument 96 switch (response_code) { in GetNetErrorCodeForFtpResponseCode()
|
/external/chromium/chrome/browser/policy/ |
D | device_management_backend_impl.cc | 122 int response_code, 191 int response_code, in HandleResponse() argument 204 switch (response_code) { in HandleResponse() 246 << response_code << "."; in HandleResponse() 249 if (response_code >= 500 && response_code <= 599) in HandleResponse()
|
/external/chromium/net/base/ |
D | mock_filter_context.h | 26 void SetResponseCode(int response_code) { response_code_ = response_code; } in SetResponseCode() argument
|