New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 823297 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug
Proj-Servicification

Blocking:
issue 721395



Sign in to add a comment

StoragePartition::ClearData should take a (serializable) struct instead of a net::CookieStore::CookiePredicate callback

Project Member Reported by jam@chromium.org, Mar 19 2018

Issue description

I ran into this while investigating the remaining WebView failures, so writing up my findings.

Right now ClearData takes a CookieMatcherFunction which is a net::CookieStore::CookiePredicate. It's used in two places: web_view_guest.cc to delete only persistent or session cookies, and in browsing_data_filter_builder_impl.cc to whitelist/blacklist cookies by domain.

We should serialize these configurations, very rough strawman:

struct CookieDeletionInfo {
  // By default, all cookie are deleted.
  bool delete_persistent = true;
  bool delete_session = true;

  // If only a subset of cookies should be deleted, then |whitelist| will true
  // for a whitelist, and false for a blacklist. The list is
  // |domains_and_ips|.
  bool whitelist;
  std::set<std::string> domains_and_ips;
};

and pass that struct instead of CookieMatcherFunction. ClearCookiesOnIOThread in storage_partition_impl.cc would then be removed, as StoragePartitionImpl::DataDeletionHelper::ClearDataOnUIThread can call network::mojom::CookieManager.

+CC a few people who might have the bandwidth to look into this
 

Comment 1 by jam@chromium.org, Mar 19 2018

Description: Show this description
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/617dbe323930ff693ac6178f07f5f969235fff27

commit 617dbe323930ff693ac6178f07f5f969235fff27
Author: John Abd-El-Malek <jam@chromium.org>
Date: Mon Mar 19 21:40:57 2018

Annotate network service browser_tests filter with cookie clearing failures.

Bug:  823297 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I190e336591e2f947f0d6f6e96e8582504cc42b93
Reviewed-on: https://chromium-review.googlesource.com/969103
Reviewed-by: Doug Turner <dougt@chromium.org>
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544167}
[modify] https://crrev.com/617dbe323930ff693ac6178f07f5f969235fff27/testing/buildbot/filters/mojo.fyi.network_browser_tests.filter

Comment 3 by dougt@chromium.org, Mar 27 2018

Owner: cmumford@chromium.org
Status: Started (was: Available)
Project Member

Comment 5 by bugdroid1@chromium.org, Apr 20 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/800caa657a5f63df7d426f28fc8031409553c814

commit 800caa657a5f63df7d426f28fc8031409553c814
Author: Chris Mumford <cmumford@chromium.org>
Date: Fri Apr 20 19:34:44 2018

Using struct describing cookies to delete in lieu of predicates.

Upcoming network servicification changes require that the cookies
to be deleted be serializable for transport over IPC. This change
converts all net::CookieStore::CookiePredicate's to a structure
(net::CookieStore::CookieDeletionInfo).

Bug:  823297 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I4176e1a0acacd95b165223cebab64c61e2129903
Reviewed-on: https://chromium-review.googlesource.com/996353
Reviewed-by: Christian Dullweber <dullweber@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552430}
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/android_webview/browser/net/aw_cookie_store_wrapper.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/android_webview/browser/net/aw_cookie_store_wrapper.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/chrome/browser/extensions/data_deleter.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/browsing_data/browsing_data_filter_builder_impl.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/browsing_data/browsing_data_filter_builder_impl.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/browsing_data/browsing_data_filter_builder_impl_unittest.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/browsing_data/browsing_data_remover_impl.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/browsing_data/browsing_data_remover_impl_unittest.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/storage_partition_impl.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/storage_partition_impl.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/browser/storage_partition_impl_unittest.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/public/browser/browsing_data_filter_builder.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/public/browser/storage_partition.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/public/test/test_storage_partition.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/content/public/test/test_storage_partition.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/extensions/browser/guest_view/web_view/web_view_guest.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/headless/public/util/testing/generic_url_request_mocks.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/headless/public/util/testing/generic_url_request_mocks.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/chrome/browser/browsing_data/browsing_data_remover_impl.mm
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/chrome/browser/ui/chrome_web_view_factory.mm
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/net/cookies/cookie_store_ios.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/net/cookies/cookie_store_ios.mm
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/net/cookies/cookie_store_ios_persistent.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/ios/net/cookies/cookie_store_ios_persistent.mm
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_monster.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_monster.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_monster_unittest.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_store.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_store.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_store_test_helpers.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_store_test_helpers.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/net/cookies/cookie_store_unittest.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/services/network/cookie_manager.cc
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/services/network/cookie_manager.h
[modify] https://crrev.com/800caa657a5f63df7d426f28fc8031409553c814/services/network/cookie_manager_unittest.cc

Project Member

Comment 6 by bugdroid1@chromium.org, Apr 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/f96c536d35a66a07cb267de42c3679b2e36617f0

commit f96c536d35a66a07cb267de42c3679b2e36617f0
Author: Chris Mumford <cmumford@chromium.org>
Date: Fri Apr 27 20:31:26 2018

Cookies: Minor fixes to comments.

In commit #552430 a few struct members were renamed, but code
comments were not updated.

Bug:  823297 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I28c618291fe69e30d2695fb4a062972e64eb4bfa
Reviewed-on: https://chromium-review.googlesource.com/1021658
Reviewed-by: Matt Menke <mmenke@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/heads/master@{#554497}
[modify] https://crrev.com/f96c536d35a66a07cb267de42c3679b2e36617f0/net/cookies/cookie_store.h
[modify] https://crrev.com/f96c536d35a66a07cb267de42c3679b2e36617f0/net/cookies/cookie_store_unittest.h
[modify] https://crrev.com/f96c536d35a66a07cb267de42c3679b2e36617f0/services/network/cookie_manager_unittest.cc

Project Member

Comment 7 by bugdroid1@chromium.org, May 1 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb

commit d8ed9f8c139015a537c43d1e39dcf932bbc23bcb
Author: Chris Mumford <cmumford@chromium.org>
Date: Tue May 01 15:43:13 2018

Decouple CookieDeletionInfo from net::CookieStore.

Decoupling CookieDeletionInfo form net::CookieStore removes the need
to include cookie_store.h which in turn makes it harder to bypass the
cookie manager (in the network service) and directly access the
cookie store by accident.

This change also moves net::CookieStore::TimeRange to
net::CookieDeletionInfo::TimeRange.

TBR=eugenebut@chromium.org, altimin@chromium.org, reillyg@chromium.org, jam@chromium.org, sky@chromium.org, boliu@chromium.org

TBRing reviewers:
eugenebut@chromium.org: Please review changes to //ios
altimin@chromium.org: Please review changes to //headless
reillyg@chromium.org: Please review changes to //extensions
jam@chromium.org: Please review changes to //content
sky@chromium.org: Please review changes to //chrome
boliu@chromium.org: Please review changes to //android_webview

Bug:  823297 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I28282c29ec50a970c26f2677b6df3ff3c01529c0
Reviewed-on: https://chromium-review.googlesource.com/1031178
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: Bo <boliu@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Maks Orlovich <morlovich@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Chris Mumford <cmumford@chromium.org>
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555045}
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/android_webview/browser/net/aw_cookie_store_wrapper.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/android_webview/browser/net/aw_cookie_store_wrapper.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/chrome/browser/extensions/data_deleter.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/browsing_data/browsing_data_filter_builder_impl.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/browsing_data/browsing_data_filter_builder_impl.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/browsing_data/browsing_data_filter_builder_impl_unittest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/browsing_data/browsing_data_remover_impl.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/browsing_data/browsing_data_remover_impl_unittest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/storage_partition_impl.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/storage_partition_impl.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/browser/storage_partition_impl_unittest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/public/browser/browsing_data_filter_builder.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/public/browser/storage_partition.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/public/test/test_storage_partition.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/content/public/test/test_storage_partition.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/extensions/browser/guest_view/web_view/web_view_guest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/headless/public/util/testing/generic_url_request_mocks.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/headless/public/util/testing/generic_url_request_mocks.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/chrome/browser/browsing_data/browsing_data_remover_impl.mm
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/chrome/browser/ui/chrome_web_view_factory.mm
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/net/cookies/cookie_store_ios.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/net/cookies/cookie_store_ios.mm
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/net/cookies/cookie_store_ios_persistent.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/ios/net/cookies/cookie_store_ios_persistent.mm
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/BUILD.gn
[add] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_deletion_info.cc
[add] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_deletion_info.h
[add] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_deletion_info_unittest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_monster.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_monster.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_monster_unittest.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_store.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_store.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_store_test_helpers.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_store_test_helpers.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/net/cookies/cookie_store_unittest.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/services/network/cookie_manager.cc
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/services/network/cookie_manager.h
[modify] https://crrev.com/d8ed9f8c139015a537c43d1e39dcf932bbc23bcb/services/network/cookie_manager_unittest.cc

Project Member

Comment 8 by bugdroid1@chromium.org, May 7 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4b0c08f185c7e213403236e1b9e912c41f451bfd

commit 4b0c08f185c7e213403236e1b9e912c41f451bfd
Author: Chris Mumford <cmumford@chromium.org>
Date: Mon May 07 20:15:19 2018

Change ChromeBrowsingDataRemoverDelegate to use CookieManager.

Switched the following classes from using the CookieStore to
using the network service CookieManager:

  SiteDataCountingHelper
  ChromeBrowsingDataRemoverDelegate
  StoragePartitionImpl

This fixes the following tests when using the network service:

  BrowsingDataRemoverBrowserTest.CookieDeletion
  WebViewTests/WebViewTest.ClearSessionCookies
  WebViewTests/WebViewTest.ClearPersistentCookies

This change also removes unnecessary includes of cookie_store.h to
reduce the likelihood of inadvertent direct access to CookieStore.

Bug:  823297 
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: I7d432da7c5ab96cfde46ed75e18b4c800f221273
Reviewed-on: https://chromium-review.googlesource.com/1031180
Commit-Queue: Chris Mumford <cmumford@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: John Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556547}
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/android/download/intercept_download_resource_throttle.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/android/download/intercept_download_resource_throttle.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/browsing_data/counters/site_data_counting_helper.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/browsing_data/counters/site_data_counting_helper.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/browsing_data/mock_browsing_data_cookie_helper.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/profiles/off_the_record_profile_io_data.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/profiles/profile_io_data.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/chrome/browser/profiles/profile_io_data.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/browsing_data/browsing_data_filter_builder_impl.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/browsing_data/browsing_data_filter_builder_impl.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/browsing_data/browsing_data_filter_builder_impl_unittest.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/browsing_data/browsing_data_remover_impl.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/browsing_data/browsing_data_remover_impl_unittest.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/storage_partition_impl.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/storage_partition_impl.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/browser/storage_partition_impl_unittest.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/public/browser/browsing_data_filter_builder.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/public/browser/storage_partition.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/public/test/test_storage_partition.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/content/public/test/test_storage_partition.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/extensions/browser/guest_view/web_view/web_view_guest.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/net/url_request/url_request_http_job.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/services/network/cookie_manager.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/services/network/cookie_manager_unittest.cc
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/services/network/public/mojom/cookie_manager.mojom
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/services/network/restricted_cookie_manager.h
[modify] https://crrev.com/4b0c08f185c7e213403236e1b9e912c41f451bfd/testing/buildbot/filters/mojo.fyi.network_browser_tests.filter

Status: Fixed (was: Started)
Project Member

Comment 10 by bugdroid1@chromium.org, Oct 3

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9417920fac8d8dba55cf1c4a5b6b31759a369172

commit 9417920fac8d8dba55cf1c4a5b6b31759a369172
Author: Reilly Grant <reillyg@google.com>
Date: Wed Oct 03 18:24:12 2018

Use network::mojom::CookieManager in SiteDataCountingHelper tests

This is a follow-up to r556547 and updates the unit tests for
SiteDataCountingHelper to use the network::mojom::CookieManager
interface.

Bug:  823297 
Change-Id: I41914390a0efc33e5ee9a2fdeca628ff1a1c5f84
Reviewed-on: https://chromium-review.googlesource.com/1258246
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#596292}
[modify] https://crrev.com/9417920fac8d8dba55cf1c4a5b6b31759a369172/chrome/browser/browsing_data/counters/site_data_counting_helper_unittest.cc

Sign in to add a comment