/external/cronet/net/reporting/ |
D | reporting_delegate.cc | 25 return network_delegate() && in CanQueueReport() 26 network_delegate()->CanQueueReportingReport(origin); in CanQueueReport() 32 if (!network_delegate()) { in CanSendReports() 37 network_delegate()->CanSendReportingReports(std::move(origins), in CanSendReports() 43 return network_delegate() && in CanSetClient() 44 network_delegate()->CanSetReportingClient(origin, endpoint); in CanSetClient() 49 return network_delegate() && in CanUseClient() 50 network_delegate()->CanUseReportingClient(origin, endpoint); in CanUseClient() 54 const NetworkDelegate* network_delegate() const { in network_delegate() function in net::__anoneb6ad4b70111::ReportingDelegateImpl 55 return request_context_->network_delegate(); in network_delegate()
|
/external/cronet/net/url_request/ |
D | report_sender_unittest.cc | 224 TestReportSenderNetworkDelegate& network_delegate() { in network_delegate() function in net::__anonab3f561f0111::ReportSenderTest 228 context_->network_delegate()); in network_delegate() 243 network_delegate().set_url_request_destroyed_callback( in SendReport() 246 network_delegate().set_expect_url(url); in SendReport() 247 network_delegate().ExpectReport(report); in SendReport() 248 network_delegate().set_expected_content_type("application/foobar"); in SendReport() 249 network_delegate().set_expected_network_anonymization_key( in SendReport() 252 EXPECT_EQ(request_sequence_number, network_delegate().num_requests()); in SendReport() 262 EXPECT_EQ(request_sequence_number + 1, network_delegate().num_requests()); in SendReport() 295 network_delegate().set_all_url_requests_destroyed_callback( in TEST_F() [all …]
|
D | url_request.cc | 193 if (network_delegate()) { in ~URLRequest() 194 network_delegate()->NotifyURLRequestDestroyed(this); in ~URLRequest() 559 if (network_delegate()) { in Start() 561 int error = network_delegate()->NotifyBeforeURLRequest( in Start() 672 if (!network_delegate() || in StartJob() 673 !network_delegate()->CancelURLRequestWithPolicyViolatingReferrerHeader( in StartJob() 850 if (network_delegate()) in NotifyResponseStarted() 851 network_delegate()->NotifyResponseStarted(this, net_error); in NotifyResponseStarted() 964 if (network_delegate()) in Redirect() 965 network_delegate()->NotifyBeforeRedirect(this, redirect_info.new_url); in Redirect() [all …]
|
D | url_request_unittest.cc | 702 default_context_->network_delegate()); in default_network_delegate() 879 auto network_delegate = std::make_unique<BlockingNetworkDelegate>( in TEST_F() local 881 network_delegate->set_redirect_url(GURL("http://redirect.com/")); in TEST_F() 882 context_builder->set_network_delegate(std::move(network_delegate)); in TEST_F() 915 auto network_delegate = std::make_unique<BlockingNetworkDelegate>( in TEST_F() local 917 network_delegate->set_cancel_request_with_policy_violating_referrer(true); in TEST_F() 918 network_delegate->set_redirect_url(GURL("http://redirect.com/")); in TEST_F() 919 context_builder->set_network_delegate(std::move(network_delegate)); in TEST_F() 948 auto network_delegate = std::make_unique<BlockingNetworkDelegate>( in TEST_F() local 950 network_delegate->set_cancel_request_with_policy_violating_referrer(true); in TEST_F() [all …]
|
D | url_request_http_job.cc | 314 if (!request()->network_delegate()) { in OnGotFirstPartySetMetadata() 321 ->network_delegate() in OnGotFirstPartySetMetadata() 424 if (request_->network_delegate()) { in DeterminePrivacyMode() 426 request()->network_delegate()->ForcePrivacyMode(*request()); in DeterminePrivacyMode() 494 NetworkDelegate* network_delegate = request()->network_delegate(); in StartTransaction() local 495 if (network_delegate) { in StartTransaction() 498 int rv = network_delegate->NotifyBeforeStartTransaction( in StartTransaction() 813 if (request()->network_delegate()) { in AnnotateAndMoveUserBlockedCookies() 815 request()->network_delegate()->AnnotateAndMoveUserBlockedCookies( in AnnotateAndMoveUserBlockedCookies() 1017 NetworkDelegate* network_delegate = request()->network_delegate(); in OnStartCompleted() local [all …]
|
D | url_request_http_job_unittest.cc | 1074 TestNetworkDelegate network_delegate; in TEST_F() local 1617 auto& network_delegate = *context_builder->set_network_delegate( in TEST_F() local 1635 network_delegate.ResetAnnotateCookiesCalledCount(); in TEST_F() 1636 ASSERT_EQ(0, network_delegate.annotate_cookies_called_count()); in TEST_F() 1640 network_delegate.set_force_privacy_mode(true); in TEST_F() 1673 EXPECT_EQ(0, network_delegate.annotate_cookies_called_count()); in TEST_F() 1682 auto network_delegate = std::make_unique<FilteringTestNetworkDelegate>(); in TEST_F() local 1683 network_delegate->set_block_get_cookies_by_name(true); in TEST_F() 1684 network_delegate->SetCookieFilter("blocked_"); in TEST_F() 1688 context_builder->set_network_delegate(std::move(network_delegate)); in TEST_F() [all …]
|
D | url_request_context.cc | 186 std::unique_ptr<NetworkDelegate> network_delegate) { in set_network_delegate() argument 187 network_delegate_ = std::move(network_delegate); in set_network_delegate()
|
D | url_request_context.h | 156 NetworkDelegate* network_delegate() const { return network_delegate_.get(); } in network_delegate() function 262 void set_network_delegate(std::unique_ptr<NetworkDelegate> network_delegate);
|
D | url_request_job_unittest.cc | 565 auto network_delegate = std::make_unique<TestNetworkDelegate>(); in TEST_F() local 566 network_delegate->set_redirect_on_headers_received_url(GURL("http://foo")); in TEST_F() 568 context_builder->set_network_delegate(std::move(network_delegate)); in TEST_F()
|
D | url_request_context_builder.cc | 459 context->host_resolver(), context->network_delegate(), in Build() 586 NetworkDelegate* network_delegate, in CreateProxyResolutionService() argument
|
D | url_request_context_builder.h | 381 NetworkDelegate* network_delegate,
|
D | url_request.h | 718 NetworkDelegate* network_delegate() const;
|
/external/cronet/net/proxy_resolution/ |
D | network_delegate_error_observer.cc | 21 Core(NetworkDelegate* network_delegate, 41 NetworkDelegate* network_delegate, in Core() argument 43 : network_delegate_(network_delegate), origin_runner_(origin_runner) { in Core() 70 NetworkDelegate* network_delegate, in NetworkDelegateErrorObserver() argument 72 : core_(base::MakeRefCounted<Core>(network_delegate, origin_runner)) {} in NetworkDelegateErrorObserver() 81 NetworkDelegate* network_delegate, in Create() argument 83 return std::make_unique<NetworkDelegateErrorObserver>(network_delegate, in Create()
|
D | network_delegate_error_observer_unittest.cc | 45 TestNetworkDelegate network_delegate; in TEST() local 47 &network_delegate, in TEST() 55 ASSERT_TRUE(network_delegate.got_pac_error()); in TEST()
|
D | network_delegate_error_observer.h | 28 NetworkDelegateErrorObserver(NetworkDelegate* network_delegate, 38 NetworkDelegate* network_delegate,
|
/external/cronet/net/websockets/ |
D | websocket_test_util.h | 175 const TestNetworkDelegate& network_delegate() const { in network_delegate() function 179 url_request_context_->network_delegate()); in network_delegate()
|
D | websocket_stream_test.cc | 594 url_request_context_host_.network_delegate().last_error()); in TEST_P() 745 url_request_context_host_.network_delegate().last_error()); in TEST_P()
|
/external/cronet/net/cert_net/ |
D | cert_net_fetcher_url_request_unittest.cc | 79 raw_ptr<TestNetworkDelegate> network_delegate; member 166 state_->network_delegate = in InitOnNetworkThread() 194 *count = state_->network_delegate->created_requests(); in CountCreatedRequests()
|
/external/cronet/net/ |
D | BUILD.gn | 211 "base/network_delegate.cc", 212 "base/network_delegate.h",
|
/external/cronet/ |
D | Android.bp | 16867 "net/base/network_delegate.cc", 17579 "net/base/network_delegate.cc",
|
/external/cronet/android/tools/gn2bp/ |
D | Android.bp.swp | 16857 "net/base/network_delegate.cc", 17569 "net/base/network_delegate.cc",
|