/external/cronet/net/cookies/ |
D | cookie_partition_key_fuzzer.cc | 29 absl::optional<CookiePartitionKey> partition_key = in LLVMFuzzerTestOneInput() local 34 CHECK_NE(is_opaque, CookiePartitionKey::Serialize(partition_key, tmp)); in LLVMFuzzerTestOneInput() 36 CHECK_NE(is_opaque, CookiePartitionKey::Deserialize(url_str, partition_key)); in LLVMFuzzerTestOneInput() 40 partition_key); in LLVMFuzzerTestOneInput()
|
D | canonical_cookie_fuzzer.cc | 60 const auto partition_key = absl::make_optional<CookiePartitionKey>( in LLVMFuzzerTestOneInput() local 69 data_provider.ConsumeBool() /* same_party */, partition_key); in LLVMFuzzerTestOneInput()
|
D | canonical_cookie.h | 95 absl::optional<CookiePartitionKey> partition_key, 151 absl::optional<CookiePartitionKey> partition_key, 175 absl::optional<CookiePartitionKey> partition_key, 195 absl::optional<CookiePartitionKey> partition_key = absl::nullopt,
|
D | canonical_cookie.cc | 374 absl::optional<CookiePartitionKey> partition_key, in CanonicalCookie() argument 390 partition_key_(std::move(partition_key)), in CanonicalCookie() 709 absl::optional<CookiePartitionKey> partition_key, in CreateSanitizedCookie() argument 830 /*is_partitioned=*/partition_key.has_value(), in CreateSanitizedCookie() 832 CookiePartitionKey::HasNonce(partition_key))) { in CreateSanitizedCookie() 850 same_party, partition_key, source_scheme, source_port); in CreateSanitizedCookie() 871 absl::optional<CookiePartitionKey> partition_key, in FromStorage() argument 886 partition_key, source_scheme, validated_port); in FromStorage() 916 absl::optional<CookiePartitionKey> partition_key, in CreateUnsafeCookieForTesting() argument 922 priority, same_party, partition_key, source_scheme, source_port); in CreateUnsafeCookieForTesting()
|
D | cookie_store.cc | 48 const absl::optional<CookiePartitionKey>& partition_key) const { in SiteHasCookieInOtherPartition()
|
D | cookie_monster.cc | 1450 CookiePartitionKey partition_key(cc->PartitionKey().value()); in InternalInsertPartitionedCookie() local 1452 partitioned_cookies_.find(partition_key); in InternalInsertPartitionedCookie() 1457 std::move(partition_key), std::make_unique<CookieMap>())) in InternalInsertPartitionedCookie() 2257 for (const auto& [partition_key, cookie_map] : partitioned_cookies_) { in DoRecordPeriodicStats() 2422 const absl::optional<CookiePartitionKey>& partition_key) const { in SiteHasCookieInOtherPartition() 2426 if (!partition_key) in SiteHasCookieInOtherPartition() 2436 if (it.first == partition_key || CookiePartitionKey::HasNonce(it.first)) in SiteHasCookieInOtherPartition()
|
D | canonical_cookie_unittest.cc | 709 auto partition_key = absl::make_optional( in TEST() local 716 server_time, partition_key, &status); in TEST() 721 EXPECT_EQ(partition_key, cookie->PartitionKey()); in TEST() 729 server_time, partition_key, &status); in TEST() 739 creation_time, server_time, partition_key, in TEST() 744 EXPECT_EQ(partition_key, cookie->PartitionKey()); in TEST() 750 server_time, partition_key, &status); in TEST() 759 server_time, partition_key, &status); in TEST() 763 EXPECT_EQ(partition_key, cookie->PartitionKey()); in TEST() 769 partition_key, &status); in TEST() [all …]
|
D | cookie_monster_unittest.cc | 4682 absl::optional<CookiePartitionKey> partition_key = absl::nullopt; in TEST_F() local 4687 CanonicalCookie::Create(url, cookie_line, t1, server_time, partition_key); in TEST_F() 4695 CanonicalCookie::Create(url, cookie_line, t2, server_time, partition_key); in TEST_F() 4704 CanonicalCookie::Create(url, cookie_line, t2, server_time, partition_key); in TEST_F() 5555 auto partition_key = in TEST_F() local 5559 EXPECT_FALSE(cm->SiteHasCookieInOtherPartition(site, partition_key)); in TEST_F() 5564 EXPECT_THAT(cm->SiteHasCookieInOtherPartition(site, partition_key), in TEST_F() 5570 absl::nullopt, absl::nullopt, partition_key)); in TEST_F() 5573 EXPECT_THAT(cm->SiteHasCookieInOtherPartition(site, partition_key), in TEST_F() 5591 EXPECT_THAT(cm->SiteHasCookieInOtherPartition(site, partition_key), in TEST_F() [all …]
|
D | cookie_monster.h | 213 const absl::optional<CookiePartitionKey>& partition_key) const override;
|