Home
last modified time | relevance | path

Searched refs:test_url_loader_factory (Results 1 – 25 of 133) sorted by relevance

123456

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/net/network_diagnostics/
H A Dhttp_request_manager_unittest.cc92 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
103 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
114 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
119 EXPECT_EQ(0, test_url_loader_factory().NumPending()); in TEST_F()
128 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
133 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
136 EXPECT_EQ(0, test_url_loader_factory().NumPending()); in TEST_F()
145 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
156 EXPECT_EQ(1, test_url_loader_factory().NumPending()); in TEST_F()
159 EXPECT_EQ(0, test_url_loader_factory().NumPending()); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/signin/public/base/
H A Dlist_accounts_test_utils.cc18 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseHttpNotFound() argument
19 test_url_loader_factory->AddResponse( in SetListAccountsResponseHttpNotFound()
27 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseWithUnexpectedServiceResponse() argument
30 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithUnexpectedServiceResponse()
34 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithUnexpectedServiceResponse()
44 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseWithParams() argument
59 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithParams()
67 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseNoAccounts() argument
74 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseOneAccount() argument
82 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseOneAccountWithParams() argument
[all …]
H A Dlist_accounts_test_utils.h27 network::TestURLLoaderFactory* test_url_loader_factory);
32 network::TestURLLoaderFactory* test_url_loader_factory);
37 network::TestURLLoaderFactory* test_url_loader_factory);
44 network::TestURLLoaderFactory* test_url_loader_factory);
51 network::TestURLLoaderFactory* test_url_loader_factory);
56 network::TestURLLoaderFactory* test_url_loader_factory);
64 network::TestURLLoaderFactory* test_url_loader_factory);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/signin/public/base/
H A Dlist_accounts_test_utils.cc18 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseHttpNotFound() argument
19 test_url_loader_factory->AddResponse( in SetListAccountsResponseHttpNotFound()
27 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseWithUnexpectedServiceResponse() argument
30 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithUnexpectedServiceResponse()
34 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithUnexpectedServiceResponse()
44 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseWithParams() argument
59 test_url_loader_factory->AddResponse( in SetListAccountsResponseWithParams()
67 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseNoAccounts() argument
74 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseOneAccount() argument
82 TestURLLoaderFactory* test_url_loader_factory) { in SetListAccountsResponseOneAccountWithParams() argument
[all …]
H A Dlist_accounts_test_utils.h27 network::TestURLLoaderFactory* test_url_loader_factory);
32 network::TestURLLoaderFactory* test_url_loader_factory);
37 network::TestURLLoaderFactory* test_url_loader_factory);
44 network::TestURLLoaderFactory* test_url_loader_factory);
51 network::TestURLLoaderFactory* test_url_loader_factory);
56 network::TestURLLoaderFactory* test_url_loader_factory);
64 network::TestURLLoaderFactory* test_url_loader_factory);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sync/test/integration/
H A Dsecondary_account_helper.cc29 network::TestURLLoaderFactory* test_url_loader_factory, in OnWillCreateBrowserContextServices() argument
33 test_url_loader_factory)); in OnWillCreateBrowserContextServices()
39 network::TestURLLoaderFactory* test_url_loader_factory) { in SetUpSigninClient() argument
42 &OnWillCreateBrowserContextServices, test_url_loader_factory)); in SetUpSigninClient()
67 network::TestURLLoaderFactory* test_url_loader_factory, in SignInSecondaryAccount() argument
73 signin::SetCookieAccounts(identity_manager, test_url_loader_factory, in SignInSecondaryAccount()
80 network::TestURLLoaderFactory* test_url_loader_factory, in SignOutSecondaryAccount() argument
84 signin::SetCookieAccounts(identity_manager, test_url_loader_factory, {}); in SignOutSecondaryAccount()
H A Dsecondary_account_helper.h32 network::TestURLLoaderFactory* test_url_loader_factory);
48 network::TestURLLoaderFactory* test_url_loader_factory,
54 network::TestURLLoaderFactory* test_url_loader_factory,
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/password_manager/core/browser/leak_detection/
H A Dleak_detection_request_unittest.cc32 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in password_manager::__anondf3334e10111::LeakDetectionRequestTest
45 test_url_loader_factory()->AddResponse( in TEST_F()
50 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
69 test_url_loader_factory()->AddResponse( in TEST_F()
74 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
93 test_url_loader_factory()->AddResponse( in TEST_F()
98 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
117 test_url_loader_factory()->AddResponse( in TEST_F()
121 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/password_manager/core/browser/leak_detection/
H A Dleak_detection_request_unittest.cc32 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in password_manager::__anonf7e5167c0111::LeakDetectionRequestTest
45 test_url_loader_factory()->AddResponse( in TEST_F()
50 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
69 test_url_loader_factory()->AddResponse( in TEST_F()
74 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
93 test_url_loader_factory()->AddResponse( in TEST_F()
98 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
117 test_url_loader_factory()->AddResponse( in TEST_F()
121 request().LookupSingleLeak(test_url_loader_factory(), kAccessToken, in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/android/webapk/
H A Dwebapk_icon_hasher_unittest.cc99 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in WebApkIconHasherTest
123 test_url_loader_factory()->AddResponse(icon_url, icon_data); in TEST_F()
126 runner.Run(test_url_loader_factory(), GURL(icon_url)); in TEST_F()
136 runner.Run(test_url_loader_factory(), icon_url); in TEST_F()
154 test_url_loader_factory()->AddResponse(icon_url1_string, icon_data); in TEST_F()
164 auto result = runner.RunMultiple(test_url_loader_factory(), {icon_url1}); in TEST_F()
185 runner.Run(test_url_loader_factory(), icon_url); in TEST_F()
193 runner.Run(test_url_loader_factory(), icon_url); in TEST_F()
201 runner.Run(test_url_loader_factory(), GURL(icon_url)); in TEST_F()
217 test_url_loader_factory()->AddResponse(GURL(icon_url), std::move(head), "", in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/translate/core/browser/
H A Dtranslate_language_list_unittest.cc35 network::TestURLLoaderFactory test_url_loader_factory; in TEST() local
38 &test_url_loader_factory); in TEST()
119 network::TestURLLoaderFactory test_url_loader_factory; in TEST() local
122 &test_url_loader_factory); in TEST()
131 test_url_loader_factory.SetInterceptor( in TEST()
148 test_url_loader_factory.AddResponse(expected_url.spec(), in TEST()
172 network::TestURLLoaderFactory test_url_loader_factory; in TEST() local
175 &test_url_loader_factory); in TEST()
190 EXPECT_TRUE(test_url_loader_factory.pending_requests()->empty()); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/image_fetcher/core/
H A Dimage_fetcher_impl_unittest.cc54 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in image_fetcher::__anon3ba1480b0111::ImageFetcherImplTest
76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
118 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
130 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
166 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
185 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
200 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
H A Dcached_image_fetcher_unittest.cc128 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in image_fetcher::CachedImageFetcherTest
227 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
267 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
298 test_url_loader_factory()->ClearResponses(); in TEST_F()
317 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
350 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
364 test_url_loader_factory()->ClearResponses(); in TEST_F()
381 test_url_loader_factory()->AddResponse(ImageUrl().spec(), kImageData); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/image_fetcher/core/
H A Dimage_fetcher_impl_unittest.cc54 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in image_fetcher::__anonf35f50660111::ImageFetcherImplTest
76 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
90 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
118 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
130 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
154 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
166 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
185 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
200 test_url_loader_factory()->AddResponse(kImageURL, "", net::HTTP_NOT_FOUND); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/supervised_user/child_accounts/
H A Dchild_account_service_unittest.cc64 auto* test_url_loader_factory = GetTestURLLoaderFactory(); in TEST_F() local
66 signin::SetListAccountsResponseNoAccounts(test_url_loader_factory); in TEST_F()
88 test_url_loader_factory); in TEST_F()
100 test_url_loader_factory); in TEST_F()
112 test_url_loader_factory); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/web/webui/
H A Durl_fetcher_block_adapter_unittest.mm16 #include "services/network/test/test_url_loader_factory.h"
50 network::TestURLLoaderFactory test_url_loader_factory;
53 &test_url_loader_factory);
58 test_url_loader_factory.AddResponse(test_url.spec(), response);
76 network::TestURLLoaderFactory test_url_loader_factory;
79 &test_url_loader_factory);
86 test_url_loader_factory.AddResponse(test_url.spec(), response);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/search/repeatable_queries/
H A Drepeatable_queries_service_unittest.cc231 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in RepeatableQueriesServiceTest
328 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
347 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
362 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
370 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
381 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
396 test_url_loader_factory()->AddResponse( in TEST_F()
408 test_url_loader_factory()->AddResponse(service()->GetRequestURL().spec(), in TEST_F()
506 EXPECT_TRUE(test_url_loader_factory()->pending_requests()->empty()); in TEST_F()
516 EXPECT_EQ(1u, test_url_loader_factory()->pending_requests()->size()); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feedback/
H A Dfeedback_uploader_dispatch_unittest.cc89 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in feedback::FeedbackUploaderDispatchTest
116 test_url_loader_factory()->SetInterceptor( in TEST_F()
134 test_url_loader_factory()->SetInterceptor( in TEST_F()
148 test_url_loader_factory()->SetInterceptor( in TEST_F()
171 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
194 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
216 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/core/
H A Dfeed_image_manager_unittest.cc133 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in feed::FeedImageManagerTest
189 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
210 test_url_loader_factory()->ClearResponses(); in TEST_F()
226 test_url_loader_factory()->AddResponse(kImageURL, kImageData, in TEST_F()
228 test_url_loader_factory()->AddResponse(kImageURL2, kImageData2); in TEST_F()
255 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
332 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
348 test_url_loader_factory()->AddResponse(kImageURL, ""); in TEST_F()
364 test_url_loader_factory()->AddResponse(kImageURL, kImageData); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/metrics/net/
H A Dnet_metrics_log_uploader_unittest.cc98 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in metrics::NetMetricsLogUploaderTest
144 auto* pending_request_0 = test_url_loader_factory()->GetPendingRequest(0); in TEST_F()
145 test_url_loader_factory()->SimulateResponseWithoutRemovingFromPendingList( in TEST_F()
150 auto* pending_request_1 = test_url_loader_factory()->GetPendingRequest(1); in TEST_F()
151 test_url_loader_factory()->SimulateResponseWithoutRemovingFromPendingList( in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/metrics/net/
H A Dnet_metrics_log_uploader_unittest.cc98 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in metrics::NetMetricsLogUploaderTest
144 auto* pending_request_0 = test_url_loader_factory()->GetPendingRequest(0); in TEST_F()
145 test_url_loader_factory()->SimulateResponseWithoutRemovingFromPendingList( in TEST_F()
150 auto* pending_request_1 = test_url_loader_factory()->GetPendingRequest(1); in TEST_F()
151 test_url_loader_factory()->SimulateResponseWithoutRemovingFromPendingList( in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/signin/public/identity_manager/
H A Didentity_test_environment.cc130 network::TestURLLoaderFactory* test_url_loader_factory, in IdentityTestEnvironment() argument
138 test_url_loader_factory, in IdentityTestEnvironment()
140 DCHECK(!test_url_loader_factory || !test_signin_client); in IdentityTestEnvironment()
171 network::TestURLLoaderFactory* test_url_loader_factory, in IdentityTestEnvironment() argument
175 if (test_url_loader_factory) in IdentityTestEnvironment()
435 identity_manager(), test_url_loader_factory(), email, gaia_id); in MakeAccountAvailableWithCookies()
615 IdentityTestEnvironment::test_url_loader_factory() { in test_url_loader_factory() function in signin::IdentityTestEnvironment
688 network::TestURLLoaderFactory* test_url_loader_factory) { in SetTestURLLoaderFactory() argument
691 test_url_loader_factory); in SetTestURLLoaderFactory()
694 DCHECK_EQ(test_url_loader_factory->GetSafeWeakWrapper(), in SetTestURLLoaderFactory()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/local_discovery/
H A Dlocal_discovery_ui_browsertest.cc441 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in local_discovery::__anonec504adf0111::LocalDiscoveryUITest
497 test_url_loader_factory()->SetInterceptor(base::BindLambdaForTesting( in IN_PROC_BROWSER_TEST_F()
508 test_url_loader_factory()->SetInterceptor(base::NullCallback()); in IN_PROC_BROWSER_TEST_F()
513 test_url_loader_factory()->AddResponse(kURLRegisterClaimToken, in IN_PROC_BROWSER_TEST_F()
515 test_url_loader_factory()->AddResponse(kURLInfo, kResponseInfoWithID); in IN_PROC_BROWSER_TEST_F()
520 test_url_loader_factory()->SetInterceptor(base::BindLambdaForTesting( in IN_PROC_BROWSER_TEST_F()
531 test_url_loader_factory()->SetInterceptor(base::NullCallback()); in IN_PROC_BROWSER_TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feedback/
H A Dfeedback_uploader_dispatch_unittest.cc71 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in feedback::FeedbackUploaderDispatchTest
98 test_url_loader_factory()->SetInterceptor( in TEST_F()
123 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
146 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
168 test_url_loader_factory()->AddResponse(GURL(kFeedbackPostUrl),
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/arc/auth/
H A Darc_robot_auth_code_fetcher_browsertest.cc140 network::TestURLLoaderFactory* test_url_loader_factory() { in test_url_loader_factory() function in arc::ArcRobotAuthCodeFetcherBrowserTest
156 test_url_loader_factory()->SetInterceptor( in IN_PROC_BROWSER_TEST_F()
158 ResponseJob(request, test_url_loader_factory()); in IN_PROC_BROWSER_TEST_F()
173 test_url_loader_factory()->SetInterceptor( in IN_PROC_BROWSER_TEST_F()
175 test_url_loader_factory()->AddResponse( in IN_PROC_BROWSER_TEST_F()

123456