Home
last modified time | relevance | path

Searched refs:interceptor_ (Results 1 – 25 of 131) sorted by relevance

123456

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/throttling/
H A Dthrottling_upload_data_stream.cc23 if (interceptor_) in ~ThrottlingUploadDataStream()
24 interceptor_->StopThrottle(throttle_callback_); in ~ThrottlingUploadDataStream()
29 DCHECK(!interceptor_); in SetInterceptor()
31 interceptor_ = interceptor->GetWeakPtr(); in SetInterceptor()
74 if (!interceptor_ || result < 0) in ThrottleRead()
79 return interceptor_->StartThrottle(result, throttled_byte_count_, in ThrottleRead()
92 if (interceptor_) in ResetInternal()
93 interceptor_->StopThrottle(throttle_callback_); in ResetInternal()
H A Dthrottling_network_transaction.cc31 interceptor_->StopThrottle(throttle_callback_); in ~ThrottlingNetworkTransaction()
48 if (!interceptor_ || result < 0) in Throttle()
96 if (interceptor_) in Fail()
97 interceptor_.reset(); in Fail()
103 if (interceptor_ && interceptor_->IsOffline()) { in CheckFailed()
130 interceptor_ = interceptor->GetWeakPtr(); in Start()
138 if (!interceptor_) in Start()
154 if (!interceptor_) in RestartIgnoringLastError()
169 if (!interceptor_) { in RestartWithCertificate()
188 if (!interceptor_) in RestartWithAuth()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/throttling/
H A Dthrottling_upload_data_stream.cc23 if (interceptor_) in ~ThrottlingUploadDataStream()
24 interceptor_->StopThrottle(throttle_callback_); in ~ThrottlingUploadDataStream()
29 DCHECK(!interceptor_); in SetInterceptor()
31 interceptor_ = interceptor->GetWeakPtr(); in SetInterceptor()
74 if (!interceptor_ || result < 0) in ThrottleRead()
79 return interceptor_->StartThrottle(result, throttled_byte_count_, in ThrottleRead()
92 if (interceptor_) in ResetInternal()
93 interceptor_->StopThrottle(throttle_callback_); in ResetInternal()
H A Dthrottling_network_transaction.cc31 interceptor_->StopThrottle(throttle_callback_); in ~ThrottlingNetworkTransaction()
48 if (!interceptor_ || result < 0) in Throttle()
96 if (interceptor_) in Fail()
97 interceptor_.reset(); in Fail()
103 if (interceptor_ && interceptor_->IsOffline()) { in CheckFailed()
130 interceptor_ = interceptor->GetWeakPtr(); in Start()
138 if (!interceptor_) in Start()
154 if (!interceptor_) in RestartIgnoringLastError()
169 if (!interceptor_) { in RestartWithCertificate()
188 if (!interceptor_) in RestartWithAuth()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/devtools/protocol/
H A Dfetch_handler.cc92 return interceptor_ && interceptor_->CreateProxyForInterception( in MaybeCreateProxyForInterception()
100 if (!interceptor_) { in Enable()
101 interceptor_ = in Enable()
124 interceptor_.reset(); in Disable()
177 if (!interceptor_) { in FailRequest()
201 if (!interceptor_) { in FulfillRequest()
255 if (!interceptor_) { in ContinueRequest()
284 if (!interceptor_) { in ContinueWithAuth()
318 if (!interceptor_) { in GetResponseBody()
332 if (!interceptor_) { in TakeResponseBodyAsStream()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/devtools/protocol/
H A Dfetch_handler.cc92 return interceptor_ && interceptor_->CreateProxyForInterception( in MaybeCreateProxyForInterception()
100 if (!interceptor_) { in Enable()
101 interceptor_ = in Enable()
124 interceptor_.reset(); in Disable()
177 if (!interceptor_) { in FailRequest()
201 if (!interceptor_) { in FulfillRequest()
255 if (!interceptor_) { in ContinueRequest()
284 if (!interceptor_) { in ContinueWithAuth()
318 if (!interceptor_) { in GetResponseBody()
332 if (!interceptor_) { in TakeResponseBodyAsStream()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/blink/
H A Dvideo_decode_stats_reporter_unittest.cc191 SetupRecordInterceptor(&interceptor_), in MakeReporter()
283 EXPECT_CALL(*interceptor_, in StabilizeFramerateAndStartNewRecord()
339 EXPECT_CALL(*interceptor_, in AdvanceTimeAndVerifyRecordUpdate()
347 testing::Mock::VerifyAndClearExpectations(interceptor_); in AdvanceTimeAndVerifyRecordUpdate()
373 RecordInterceptor* interceptor_ = nullptr; member in media::VideoDecodeStatsReporterTest
432 EXPECT_CALL(*interceptor_, MockUpdateRecord(_, _, _)).Times(0); in TEST_F()
460 EXPECT_CALL(*interceptor_, MockUpdateRecord(_, _, _)).Times(0); in TEST_F()
468 EXPECT_CALL(*interceptor_, in TEST_F()
917 EXPECT_CALL(*interceptor_, in TEST_F()
923 testing::Mock::VerifyAndClearExpectations(interceptor_); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/media/blink/
H A Dvideo_decode_stats_reporter_unittest.cc191 SetupRecordInterceptor(&interceptor_), in MakeReporter()
283 EXPECT_CALL(*interceptor_, in StabilizeFramerateAndStartNewRecord()
339 EXPECT_CALL(*interceptor_, in AdvanceTimeAndVerifyRecordUpdate()
347 testing::Mock::VerifyAndClearExpectations(interceptor_); in AdvanceTimeAndVerifyRecordUpdate()
373 RecordInterceptor* interceptor_ = nullptr; member in media::VideoDecodeStatsReporterTest
432 EXPECT_CALL(*interceptor_, MockUpdateRecord(_, _, _)).Times(0); in TEST_F()
460 EXPECT_CALL(*interceptor_, MockUpdateRecord(_, _, _)).Times(0); in TEST_F()
468 EXPECT_CALL(*interceptor_, in TEST_F()
917 EXPECT_CALL(*interceptor_, in TEST_F()
923 testing::Mock::VerifyAndClearExpectations(interceptor_); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/test/portal/
H A Dportal_activated_observer.cc14 : interceptor_(PortalInterceptorForTesting::From(portal)->GetWeakPtr()) { in PortalActivatedObserver()
15 interceptor_->AddObserver(this); in PortalActivatedObserver()
19 if (auto* interceptor = interceptor_.get()) in ~PortalActivatedObserver()
68 if (auto* interceptor = interceptor_.get()) in OnPortalActivateResult()
/dports/devel/RStudio/rstudio-2021.09.1-372/src/cpp/desktop/
H A DDesktopWebProfile.cpp78 interceptor_.reset(new Interceptor(this, baseUrl, sharedSecret_)); in setBaseUrl()
80 setUrlRequestInterceptor(interceptor_.data()); in setBaseUrl()
82 setRequestInterceptor(interceptor_.data()); in setBaseUrl()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/service_worker/
H A Dservice_worker_main_resource_handle_core.h68 interceptor_ = std::move(interceptor); in set_interceptor()
72 return interceptor_.get(); in interceptor()
83 std::unique_ptr<ServiceWorkerControlleeRequestHandler> interceptor_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/service_worker/
H A Dservice_worker_main_resource_handle_core.h84 interceptor_ = std::move(interceptor); in set_interceptor()
88 return interceptor_.get(); in interceptor()
105 std::unique_ptr<ServiceWorkerControlleeRequestHandler> interceptor_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/test/
H A Ddid_commit_navigation_interceptor.cc21 : interceptor_(interceptor), in FrameAgent()
35 return interceptor_->WillProcessDidCommitNavigation( in WillProcessDidCommitNavigation()
40 DidCommitNavigationInterceptor* interceptor_; member in content::DidCommitNavigationInterceptor::FrameAgent
H A Dframe_host_interceptor.cc25 : interceptor_(interceptor), in FrameAgent()
51 if (interceptor_->WillDispatchBeginNavigation( in BeginNavigation()
62 FrameHostInterceptor* interceptor_; member in content::FrameHostInterceptor::FrameAgent
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/portal/
H A Dportal.h121 return interceptor_.get(); in GetInterceptorForTesting()
125 interceptor_ = std::move(interceptor); in SetInterceptorForTesting()
126 receiver_.SwapImplForTesting(interceptor_.get()); in SetInterceptorForTesting()
210 std::unique_ptr<blink::mojom::Portal> interceptor_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/test/
H A Dsigned_exchange_browser_test_helper.cc43 interceptor_.reset(); in TearDownOnMainThread()
64 if (!interceptor_) { in InstallUrlInterceptor()
65 interceptor_ = std::make_unique<URLLoaderInterceptor>(base::BindRepeating( in InstallUrlInterceptor()
H A Durl_loader_monitor.cc12 : interceptor_(std::make_unique<content::URLLoaderInterceptor>( in URLLoaderMonitor()
23 interceptor_.reset(); in ~URLLoaderMonitor()
H A Durl_loader_interceptor.cc336 interceptor_ = std::make_unique<Interceptor>( in URLLoaderFactoryNavigationWrapper()
341 interceptor_->BindReceiver(std::move(receiver)); in URLLoaderFactoryNavigationWrapper()
345 std::unique_ptr<Interceptor> interceptor_; member in content::URLLoaderInterceptor::URLLoaderFactoryNavigationWrapper
357 : interceptor_( in BrowserProcessWrapper()
363 interceptor_.BindReceiver(std::move(factory_receiver));
373 Interceptor interceptor_; member in content::URLLoaderInterceptor::BrowserProcessWrapper
390 : interceptor_( in RenderProcessHostWrapper()
397 interceptor_.BindReceiver(std::move(factory_receiver));
398 interceptor_.SetConnectionErrorHandler(base::BindOnce(
410 Interceptor interceptor_; member in content::URLLoaderInterceptor::RenderProcessHostWrapper
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/portal/
H A Dportal.h127 return interceptor_.get(); in GetInterceptorForTesting()
131 interceptor_ = std::move(interceptor); in SetInterceptorForTesting()
132 receiver_.SwapImplForTesting(interceptor_.get()); in SetInterceptorForTesting()
228 std::unique_ptr<blink::mojom::Portal> interceptor_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/headless/test/
H A Dtest_network_interceptor.cc86 : interceptor_(std::move(interceptor)) {} in Impl()
96 interceptor_, method, url)); in FindResponse()
125 base::WeakPtr<TestNetworkInterceptor> interceptor_; member in headless::TestNetworkInterceptor::Impl
170 interceptor_ = std::make_unique<content::URLLoaderInterceptor>( in TestNetworkInterceptor()
177 interceptor_.reset(); in ~TestNetworkInterceptor()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/android/test/
H A Durl_request_intercepting_job_factory.cc19 : job_factory_(job_factory), interceptor_(interceptor) {} in URLRequestInterceptingJobFactory()
27 interceptor_->MaybeInterceptRequest(request); in CreateJob()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/web_package/
H A Dweb_bundle_handle.cc140 DCHECK(interceptor_); in TakeInterceptor()
141 return std::move(interceptor_); in TakeInterceptor()
167 interceptor_ = std::move(interceptor); in SetInterceptor()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/domain_reliability/
H A Duploader_unittest.cc180 interceptor_(new UploadInterceptor()), in DomainReliabilityUploaderTest()
185 GURL(kUploadURL), base::WrapUnique(interceptor_)); in DomainReliabilityUploaderTest()
194 UploadInterceptor* interceptor() const { return interceptor_; } in interceptor()
203 UploadInterceptor* interceptor_; member in domain_reliability::__anonaf49f3440111::DomainReliabilityUploaderTest
/dports/devel/bear/Bear-3.0.17/source/intercept/source/report/wrapper/
H A DRpcClients.cc59 , interceptor_(rpc::Interceptor::NewStub(channel_)) in InterceptorClient()
68 const grpc::Status status = interceptor_->Register(&context, event, &response); in report()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/autofill/
H A Dautofill_server_browsertest.cc68 interceptor_ = in WindowedNetworkObserver()
77 interceptor_.reset(); in Wait()
124 std::unique_ptr<content::URLLoaderInterceptor> interceptor_; member in autofill::__anon6ba16d210111::WindowedNetworkObserver

123456