Home
last modified time | relevance | path

Searched refs:set_response_code (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/chrome/browser/chromeos/login/auth/
Dmock_url_fetchers.cc56 set_response_code(net::HTTP_FORBIDDEN); in GotCanceledFetcher()
73 set_response_code(net::HTTP_OK); in SuccessFetcher()
90 set_response_code(net::HTTP_OK); in FailFetcher()
117 set_response_code(net::HTTP_FORBIDDEN); in CaptchaFetcher()
157 set_response_code(net::HTTP_OK); in HostedFetcher()
166 set_response_code(net::HTTP_FORBIDDEN); in Start()
/external/chromium_org/components/policy/core/common/cloud/
Dexternal_policy_data_updater_unittest.cc133 fetcher->set_response_code(200); in TEST_F()
247 fetcher->set_response_code(500); in TEST_F()
281 fetcher->set_response_code(400); in TEST_F()
305 fetcher->set_response_code(400); in TEST_F()
339 fetcher->set_response_code(500); in TEST_F()
397 fetcher->set_response_code(200); in TEST_F()
428 fetcher->set_response_code(200); in TEST_F()
459 fetcher->set_response_code(200); in TEST_F()
533 fetcher->set_response_code(500); in TEST_F()
595 fetcher->set_response_code(200); in TEST_F()
[all …]
Dexternal_policy_data_fetcher_unittest.cc130 fetcher->set_response_code(200); in TEST_F()
233 fetcher->set_response_code(500); in TEST_F()
257 fetcher->set_response_code(400); in TEST_F()
281 fetcher->set_response_code(300); in TEST_F()
326 fetcher->set_response_code(200); in TEST_F()
358 fetcher->set_response_code(200); in TEST_F()
379 fetcher->set_response_code(200); in TEST_F()
411 fetcher->set_response_code(200); in TEST_F()
432 fetcher->set_response_code(200); in TEST_F()
480 fetcher->set_response_code(200); in TEST_F()
Duser_info_fetcher_unittest.cc74 url_fetcher->set_response_code(net::HTTP_OK); in TEST_F()
Dcomponent_cloud_policy_updater_unittest.cc139 fetcher->set_response_code(200); in TEST_F()
288 fetcher->set_response_code(200); in TEST_F()
/external/chromium_org/google_apis/gaia/
Doauth2_token_service_unittest.cc138 fetcher->set_response_code(net::HTTP_UNAUTHORIZED); in TEST_F()
158 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
187 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
213 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
234 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
253 fetcher->set_response_code(net::HTTP_UNAUTHORIZED); in TEST_F()
273 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
291 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
314 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
329 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
[all …]
Dgaia_oauth_client_unittest.cc46 set_response_code(response_code); in MockOAuthFetcher()
55 set_response_code(net::HTTP_OK); in Start()
105 void set_response_code(int response_code) { in set_response_code() function in __anon6fbbfdcb0111::MockOAuthFetcherFactory
222 factory.set_response_code(response_code); in TEST_F()
237 factory.set_response_code(response_code); in TEST_F()
252 factory.set_response_code(response_code); in TEST_F()
/external/chromium_org/chrome/browser/local_discovery/
Dprivet_url_fetcher_unittest.cc132 fetcher->set_response_code(200); in TEST_F()
151 fetcher->set_response_code(503); in TEST_F()
162 fetcher->set_response_code(200); in TEST_F()
175 fetcher->set_response_code(404); in TEST_F()
189 fetcher->set_response_code(200); in TEST_F()
249 fetcher->set_response_code(200); in TEST_F()
263 fetcher->set_response_code(200); in TEST_F()
293 fetcher->set_response_code(200); in TEST_F()
Dgcd_api_flow_unittest.cc97 fetcher->set_response_code(200); in TEST_F()
120 fetcher->set_response_code(200); in TEST_F()
Dprivet_notifications_unittest.cc115 fetcher->set_response_code(200); in SuccessfulResponseToInfo()
208 fetcher->set_response_code(200); in TEST_F()
Dprivet_http_unittest.cc268 fetcher->set_response_code(200); in SuccessfulResponseToURL()
508 fetcher->set_response_code(200); in TEST_F()
521 fetcher->set_response_code(404); in TEST_F()
554 fetcher->set_response_code(200); in SuccessfulResponseToURL()
Dprivet_local_printer_lister_unittest.cc132 fetcher->set_response_code(200); in SuccessfulResponseToURL()
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_manager_unittest.cc428 url_fetcher->set_response_code(200); in TEST_F()
462 url_fetcher->set_response_code(200); in TEST_F()
474 backup_url_fetcher->set_response_code(200); in TEST_F()
510 url_fetcher->set_response_code(404); in TEST_F()
521 backup_url_fetcher->set_response_code(404); in TEST_F()
557 url_fetcher->set_response_code(404); in TEST_F()
569 backup_url_fetcher->set_response_code(200); in TEST_F()
605 url_fetcher->set_response_code(404); in TEST_F()
667 backup_url_fetcher->set_response_code(404); in TEST_F()
715 backup_url_fetcher->set_response_code(200); in TEST_F()
[all …]
Dincident_report_uploader_impl_unittest.cc58 fetcher->set_response_code(net::HTTP_OK); in TEST_F()
/external/chromium_org/chrome/browser/signin/
Daccount_service_flag_fetcher_unittest.cc71 fetcher->set_response_code(net::HTTP_OK); in SendValidLoginResponse()
80 fetcher->set_response_code(net::HTTP_OK); in SendFailedLoginResponse()
89 fetcher->set_response_code(net::HTTP_OK); in SendValidGetUserInfoResponse()
98 fetcher->set_response_code(net::HTTP_OK); in SendInvalidGetUserInfoResponse()
107 fetcher->set_response_code(net::HTTP_OK); in SendFailedGetUserInfoResponse()
/external/chromium_org/chrome/browser/autocomplete/
Dsearch_provider_unittest.cc425 default_fetcher->set_response_code(200); in FinishDefaultSuggestQuery()
438 fetcher->set_response_code(200); in ForcedQueryTestHelper()
495 fetcher->set_response_code(200); in TEST_F()
550 default_fetcher->set_response_code(200); in TEST_F()
567 keyword_fetcher->set_response_code(200); in TEST_F()
1073 fetcher->set_response_code(200); in TEST_F()
1101 fetcher->set_response_code(200); in TEST_F()
1160 default_fetcher->set_response_code(200); in TEST_F()
1167 keyword_fetcher->set_response_code(200); in TEST_F()
1418 fetcher->set_response_code(200); in TEST_F()
[all …]
Dzero_suggest_provider_unittest.cc126 fetcher->set_response_code(200); in TEST_F()
166 fetcher->set_response_code(200); in TEST_F()
213 fetcher->set_response_code(200); in TEST_F()
/external/chromium_org/components/domain_reliability/
Duploader_unittest.cc79 fetcher->set_response_code(200); in TEST_F()
102 fetcher->set_response_code(500); in TEST_F()
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_updater_unittest.cc864 fetcher->set_response_code(400); in TestMultipleManifestDownloading()
879 fetcher->set_response_code(200); in TestMultipleManifestDownloading()
908 fetcher->set_response_code(200); in TestMultipleManifestDownloading()
933 fetcher->set_response_code(200); in TestMultipleManifestDownloading()
984 fetcher->set_response_code(500); in TestManifestRetryDownloading()
1009 fetcher->set_response_code(500); in TestManifestRetryDownloading()
1020 fetcher->set_response_code(400); in TestManifestRetryDownloading()
1089 fetcher->set_response_code(500); in TestSingleExtensionDownloading()
1102 fetcher->set_response_code(404); in TestSingleExtensionDownloading()
1105 fetcher->set_response_code(200); in TestSingleExtensionDownloading()
[all …]
/external/chromium_org/components/captive_portal/
Dcaptive_portal_testing_utils.cc54 fetcher()->set_response_code(status_code); in CompleteURLFetch()
/external/chromium_org/chrome/browser/chromeos/extensions/
Ddevice_local_account_external_policy_loader_unittest.cc249 fetcher->set_response_code(200); in TEST_F()
268 fetcher->set_response_code(200); in TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dtest_blacklist_state_fetcher.cc74 url_fetcher->set_response_code(200); in HandleFetcher()
/external/chromium_org/chrome/browser/chromeos/policy/
Dcloud_external_data_policy_observer_unittest.cc401 fetcher->set_response_code(200); in TEST_F()
442 fetcher->set_response_code(400); in TEST_F()
562 fetcher->set_response_code(200); in TEST_F()
619 fetcher->set_response_code(200); in TEST_F()
673 fetcher->set_response_code(200); in TEST_F()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc266 fetcher->set_response_code(200); in TEST_F()
323 fetcher->set_response_code(0); in TEST_F()
359 fetcher->set_response_code(500); in TEST_F()
Dgoogle_one_shot_remote_engine_unittest.cc72 fetcher->set_response_code(success ? 200 : 500); in CreateAndTestRequest()

123