/external/chromium_org/components/precache/core/ |
D | precache_fetcher_unittest.cc | 129 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F() 131 factory_.SetFakeResponse(GURL(kManifestFetchFailureURL), "", in TEST_F() 134 factory_.SetFakeResponse(GURL(kBadManifestURL), "bad protobuf", net::HTTP_OK, in TEST_F() 136 factory_.SetFakeResponse(GURL(kGoodManifestURL), in TEST_F() 139 factory_.SetFakeResponse(GURL(kResourceFetchFailureURL), in TEST_F() 142 factory_.SetFakeResponse(GURL(kGoodResourceURL), "good", net::HTTP_OK, in TEST_F() 144 factory_.SetFakeResponse(GURL(kForcedStartingURLManifestURL), in TEST_F() 174 factory_.SetFakeResponse(GURL(kConfigURL), "", in TEST_F() 197 factory_.SetFakeResponse(GURL(kConfigURL), "bad protobuf", net::HTTP_OK, in TEST_F() 222 factory_.SetFakeResponse(GURL(kConfigURL), config.SerializeAsString(), in TEST_F() [all …]
|
/external/chromium_org/chrome/service/cloud_print/ |
D | printer_job_handler_unittest.cc | 506 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in MakeJobFetchReturnNoJobs() 509 factory_.SetFakeResponse(JobListURI(kJobFetchReasonFailure), in MakeJobFetchReturnNoJobs() 512 factory_.SetFakeResponse(JobListURI(kJobFetchReasonRetry), in MakeJobFetchReturnNoJobs() 562 factory_.SetFakeResponse(TicketURI(job_num), in SetUpJobSuccessTest() 565 factory_.SetFakeResponse(DownloadURI(job_num), in SetUpJobSuccessTest() 569 factory_.SetFakeResponse(DoneURI(job_num), in SetUpJobSuccessTest() 573 factory_.SetFakeResponse(InProgressURI(job_num), in SetUpJobSuccessTest() 680 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in TEST_F() 683 factory_.SetFakeResponse(JobListURI(kJobFetchReasonQueryMore), in TEST_F() 699 factory_.SetFakeResponse(JobListURI(kJobFetchReasonStartup), in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/signin/ |
D | account_reconcilor_unittest.cc | 99 void SetFakeResponse(const std::string& url, in SetFakeResponse() function in AccountReconcilorTest 103 url_fetcher_factory_.SetFakeResponse(GURL(url), data, code, status); in SetFakeResponse() 267 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_F() 289 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), "", in TEST_F() 310 SetFakeResponse("https://www.googleapis.com/oauth2/v1/userinfo", in TEST_F() 332 SetFakeResponse("https://www.googleapis.com/oauth2/v1/userinfo", in TEST_F() 371 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P() 374 SetFakeResponse("https://www.googleapis.com/oauth2/v1/userinfo", in TEST_P() 418 SetFakeResponse(GaiaUrls::GetInstance()->list_accounts_url().spec(), in TEST_P() 421 SetFakeResponse("https://www.googleapis.com/oauth2/v1/userinfo", in TEST_P() [all …]
|
D | signin_browsertest.cc | 62 fake_factory_->SetFakeResponse( in SetUp() 65 fake_factory_->SetFakeResponse( in SetUp()
|
/external/chromium_org/third_party/libaddressinput/chromium/ |
D | chrome_downloader_impl_unittest.cc | 26 void SetFakeResponse(const std::string& payload, net::HttpStatusCode code) { in SetFakeResponse() function in autofill::ChromeDownloaderImplTest 27 fake_factory_.SetFakeResponse(url_, in SetFakeResponse() 71 SetFakeResponse(kFakePayload, net::HTTP_OK); in TEST_F() 80 SetFakeResponse(kFakePayload, net::HTTP_INTERNAL_SERVER_ERROR); in TEST_F() 89 SetFakeResponse(kFakePayload, net::HTTP_OK); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/local_discovery/ |
D | local_discovery_ui_browsertest.cc | 373 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 379 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 385 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 391 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 397 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 403 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 413 fake_fetcher_factory().SetFakeResponse( in SetUpOnMainThread() 534 fake_fetcher_factory().SetFakeResponse( in IN_PROC_BROWSER_TEST_F() 540 fake_fetcher_factory().SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | cloud_external_data_manager_base_unittest.cc | 124 void SetFakeResponse(const std::string& url, 242 void CloudExternalDataManagerBaseTest::SetFakeResponse( in SetFakeResponse() function in policy::CloudExternalDataManagerBaseTest 247 fetcher_factory_.SetFakeResponse( in SetFakeResponse() 294 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F() 350 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F() 352 SetFakeResponse(k20BytePolicyURL, k20ByteData, net::HTTP_OK, in TEST_F() 425 SetFakeResponse(k10BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F() 444 SetFakeResponse(k20BytePolicyURL, std::string(), in TEST_F() 483 SetFakeResponse(k20BytePolicyURL, k10ByteData, net::HTTP_OK, in TEST_F() 663 SetFakeResponse(k10BytePolicyURL, k20ByteData, net::HTTP_OK, in TEST_F() [all …]
|
/external/chromium_org/components/rappor/ |
D | log_uploader_unittest.cc | 75 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F() 89 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F() 103 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F() 124 factory_.SetFakeResponse(GURL(kTestServerURL), in TEST_F()
|
/external/chromium_org/components/dom_distiller/core/ |
D | distiller_url_fetcher_unittest.cc | 34 factory_->SetFakeResponse( in SetUp() 39 factory_->SetFakeResponse( in SetUp()
|
/external/chromium_org/chrome/browser/ |
D | bitmap_fetcher_browsertest.cc | 112 url_fetcher_factory_->SetFakeResponse( in IN_PROC_BROWSER_TEST_F() 165 url_fetcher_factory_->SetFakeResponse(url, in IN_PROC_BROWSER_TEST_F() 193 url_fetcher_factory_->SetFakeResponse(url, in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/components/invalidation/ |
D | gcm_network_channel_unittest.cc | 248 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F() 302 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F() 348 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F() 418 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F() 436 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F() 473 url_fetcher_factory()->SetFakeResponse(GURL("http://test.url.com"), in TEST_F()
|
/external/chromium_org/components/signin/core/browser/ |
D | mutable_profile_oauth2_token_service_unittest.cc | 43 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_revoke_url(), in SetUp() 285 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F() 305 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F() 319 factory_.SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in TEST_F()
|
/external/chromium_org/chrome/browser/search/suggestions/ |
D | suggestions_service_unittest.cc | 177 factory_.SetFakeResponse(GURL(expected_url), in FetchSuggestionsDataNoTimeoutHelper() 263 factory_.SetFakeResponse(GURL(expected_url), "irrelevant", net::HTTP_OK, in TEST_F() 293 factory_.SetFakeResponse(GURL(expected_url), "irrelevant", in TEST_F() 324 factory_.SetFakeResponse(GURL(expected_url), in TEST_F()
|
/external/chromium_org/chrome/browser/chromeos/login/ |
D | eula_browsertest.cc | 65 factory.SetFakeResponse(GURL(kEULAURL), kFakeOnlineEULA, in IN_PROC_BROWSER_TEST_F() 86 factory.SetFakeResponse(GURL(kEULAURL), "", net::HTTP_INTERNAL_SERVER_ERROR, in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
D | sync_test.cc | 545 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 550 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 555 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 560 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 565 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 575 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 582 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 587 fake_factory_->SetFakeResponse( in SetupMockGaiaResponses() 598 fake_factory_->SetFakeResponse(GaiaUrls::GetInstance()->oauth2_token_url(), in SetOAuth2TokenResponse()
|
/external/chromium_org/chrome/browser/chromeos/geolocation/ |
D | simple_geolocation_unittest.cc | 71 factory_->SetFakeResponse(url, response_, response_code, status); in CreateURLFetcher() 84 factory_->SetFakeResponse(url_, in Initialize()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | download_protection_service_unittest.cc | 404 factory.SetFakeResponse( in TEST_F() 494 factory.SetFakeResponse( in TEST_F() 537 factory.SetFakeResponse( in TEST_F() 579 factory.SetFakeResponse( in TEST_F() 597 factory.SetFakeResponse( in TEST_F() 617 factory.SetFakeResponse( in TEST_F() 642 factory.SetFakeResponse( in TEST_F() 664 factory.SetFakeResponse( in TEST_F() 685 factory.SetFakeResponse( in TEST_F() 735 factory.SetFakeResponse( in TEST_F() [all …]
|
D | client_side_detection_service_unittest.cc | 112 factory_->SetFakeResponse(GURL(ClientSideDetectionService::kClientModelUrl), in SetModelFetchResponse() 119 factory_->SetFakeResponse( in SetClientReportPhishingResponse() 128 factory_->SetFakeResponse( in SetClientReportMalwareResponse()
|
/external/chromium_org/chrome/browser/chromeos/timezone/ |
D | timezone_unittest.cc | 109 factory_->SetFakeResponse(url, response_, response_code, status); in CreateURLFetcher() 122 factory_->SetFakeResponse(url_, in Initialize()
|
/external/chromium_org/chrome/browser/chromeos/ |
D | customization_wallpaper_downloader_browsertest.cc | 134 factory_->SetFakeResponse(url, response_data, response_code, status); in CreateURLFetcher() 147 factory_->SetFakeResponse(url_, in Initialize()
|
D | customization_document_unittest.cc | 276 factory_.SetFakeResponse(url, in AddExpectedManifest() 288 factory_.SetFakeResponse(url, in AddManifestNotFound()
|
/external/chromium_org/chrome/browser/ui/search/ |
D | instant_extended_interactive_uitest.cc | 827 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F() 842 fake_factory()->SetFakeResponse( in IN_PROC_BROWSER_TEST_F() 887 fake_factory()->SetFakeResponse(instant_url().Resolve("#q=flowers"), in IN_PROC_BROWSER_TEST_F() 903 fake_factory()->SetFakeResponse( in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/components/precache/content/ |
D | precache_manager_unittest.cc | 153 factory_.SetFakeResponse(GURL(kConfigURL), "", in SetUp()
|
/external/chromium_org/net/url_request/ |
D | test_url_fetcher_factory.h | 415 void SetFakeResponse(const GURL& url,
|
D | test_url_fetcher_factory.cc | 417 void FakeURLFetcherFactory::SetFakeResponse( in SetFakeResponse() function in net::FakeURLFetcherFactory
|