Home
last modified time | relevance | path

Searched refs:ReportingPolicy (Results 1 – 25 of 26) sorted by relevance

12

/external/cronet/net/reporting/
Dreporting_policy.cc14 ReportingPolicy* policy_for_testing = nullptr;
19 std::unique_ptr<ReportingPolicy> ReportingPolicy::Create() { in Create()
21 return std::make_unique<ReportingPolicy>(*policy_for_testing); in Create()
23 return std::make_unique<ReportingPolicy>(); in Create()
27 void ReportingPolicy::UsePolicyForTesting(const ReportingPolicy& policy) { in UsePolicyForTesting()
28 static base::NoDestructor<ReportingPolicy> owned_policy; in UsePolicyForTesting()
33 ReportingPolicy::ReportingPolicy() { in ReportingPolicy() function in net::ReportingPolicy
43 ReportingPolicy::ReportingPolicy(const ReportingPolicy& other) = default;
45 ReportingPolicy::~ReportingPolicy() = default;
Dreporting_policy.h17 struct NET_EXPORT ReportingPolicy { struct
19 static std::unique_ptr<ReportingPolicy> Create();
24 static void UsePolicyForTesting(const ReportingPolicy& policy);
26 ReportingPolicy();
27 ReportingPolicy(const ReportingPolicy& other);
28 ~ReportingPolicy();
Dreporting_policy.proto5 // Based on net::ReportingPolicy class declaration.
14 // really consider any of the ReportingPolicy fields except maybe
16 message ReportingPolicy { message
34 required ReportingPolicy policy = 1;
Dreporting_header_parser_fuzzer.cc31 const net::ReportingPolicy& policy) { in FuzzReportingHeaderParser()
53 net::ReportingPolicy& policy, in InitializeReportingPolicy()
54 const net_reporting_policy_proto::ReportingPolicy& policy_data) { in InitializeReportingPolicy()
83 net::ReportingPolicy policy; in DEFINE_BINARY_PROTO_FUZZER()
Dreporting_context.h39 const ReportingPolicy& policy,
48 const ReportingPolicy& policy() const { return policy_; } in policy()
79 ReportingContext(const ReportingPolicy& policy,
88 ReportingPolicy policy_;
Dreporting_network_change_observer_unittest.cc61 ReportingPolicy new_policy = policy(); in TEST_F()
80 ReportingPolicy new_policy = policy(); in TEST_F()
99 ReportingPolicy new_policy = policy(); in TEST_F()
118 ReportingPolicy new_policy = policy(); in TEST_F()
Dreporting_test_util.h159 const ReportingPolicy& policy,
197 void UsePolicy(const ReportingPolicy& policy);
255 const ReportingPolicy& policy() { return context_->policy(); } in policy()
286 void CreateContext(const ReportingPolicy& policy,
368 const ReportingPolicy& GetPolicy() const override;
380 ReportingPolicy dummy_policy_;
Dreporting_service.h34 struct ReportingPolicy;
50 const ReportingPolicy& policy,
126 virtual const ReportingPolicy& GetPolicy() const = 0;
Dreporting_context.cc35 ReportingContextImpl(const ReportingPolicy& policy, in ReportingContextImpl()
51 const ReportingPolicy& policy, in Create()
108 const ReportingPolicy& policy, in ReportingContext()
Dreporting_endpoint_manager.h26 struct ReportingPolicy;
42 const ReportingPolicy* policy,
Dreporting_endpoint_manager.cc35 ReportingEndpointManagerImpl(const ReportingPolicy* policy, in ReportingEndpointManagerImpl()
147 const raw_ptr<const ReportingPolicy> policy_;
167 const ReportingPolicy* policy, in Create()
Dreporting_test_util.cc173 const ReportingPolicy& policy, in TestReportingContext()
197 ReportingPolicy policy; in ReportingTestBase()
205 void ReportingTestBase::UsePolicy(const ReportingPolicy& new_policy) { in UsePolicy()
289 void ReportingTestBase::CreateContext(const ReportingPolicy& policy, in CreateContext()
369 const ReportingPolicy& TestReportingService::GetPolicy() const { in GetPolicy()
Dreporting_service.cc154 const ReportingPolicy& GetPolicy() const override { in GetPolicy()
328 const ReportingPolicy& policy, in Create()
Dreporting_garbage_collector.cc56 const ReportingPolicy& policy = context_->policy(); in CollectGarbage()
DREADME.md32 * A *`ReportingPolicy`* specifies a number of parameters for the Reporting
75 `ReportingPolicy` to the `URLRequestContextBuilder`. This creates a
Dreporting_delivery_agent.cc396 const ReportingPolicy& policy() const { return context_->policy(); } in policy()
Dreporting_service_unittest.cc86 &clock_, &tick_clock_, ReportingPolicy(), store_.get()); in Init()
Dreporting_endpoint_manager_unittest.cc293 ReportingPolicy policy_;
Dreporting_delivery_agent_unittest.cc47 ReportingPolicy policy; in ReportingDeliveryAgentTest()
Dreporting_header_parser_unittest.cc45 ReportingPolicy policy; in ReportingHeaderParserTestBase()
766 ReportingPolicy policy; in TEST_P()
Dreporting_cache_unittest.cc69 ReportingPolicy policy; in ReportingCacheTest()
/external/cronet/net/url_request/
Durl_request_context_builder.h68 struct ReportingPolicy;
296 void set_reporting_policy(std::unique_ptr<ReportingPolicy> reporting_policy);
448 std::unique_ptr<ReportingPolicy> reporting_policy_;
Durl_request_context_builder_unittest.cc205 builder_.set_reporting_policy(std::make_unique<ReportingPolicy>()); in TEST_F()
243 builder_.set_reporting_policy(std::make_unique<ReportingPolicy>()); in TEST_F()
Durl_request_context_builder.cc171 std::unique_ptr<ReportingPolicy> reporting_policy) { in set_reporting_policy()
/external/cronet/components/cronet/
Durl_request_context_config.cc829 auto policy = net::ReportingPolicy::Create(); in SetContextBuilderExperimentalOptions()

12