Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Issue 1613473002: Replace TestingProfile::GetCookieMonster with GetCookieStore. (Closed)

Created:
4 years, 11 months ago by mmenke
Modified:
4 years, 11 months ago
Reviewers:
Mike West, sky
CC:
chromium-reviews, markusheintz_
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace TestingProfile::GetCookieMonster with GetCookieStore. I'm trying to remove CookieStore::GetCookieMonster, since it's weird and ugly to have most consumers of a class have hard dependencies on it being a particular subclass of that class. Also make a test using the method no longer hold onto references to the CookieStore, in preparation for de-reference-counting the class. BUG=579653 Committed: https://crrev.com/61ceb531398741fd759a11f0cc0de26f469c4619 Cr-Commit-Position: refs/heads/master@{#370779}

Patch Set 1 #

Patch Set 2 : Fix forward declaration #

Patch Set 3 : Missed some stuff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
mmenke
mkwst: PTAL
4 years, 11 months ago (2016-01-20 22:45:45 UTC) #4
Mike West
LGTM, this is nice cleanup. Thanks for small patches. :)
4 years, 11 months ago (2016-01-21 09:17:51 UTC) #5
mmenke
Sky: This is a test-only API change to chrome/test/base/testing_profile.h, where we're returning a superclass of ...
4 years, 11 months ago (2016-01-21 16:27:16 UTC) #9
sky
LGTM - I'm fine with a TBR for this sort of change in the future.
4 years, 11 months ago (2016-01-21 19:59:47 UTC) #10
mmenke
On 2016/01/21 19:59:47, sky wrote: > LGTM - I'm fine with a TBR for this ...
4 years, 11 months ago (2016-01-21 20:00:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613473002/60001
4 years, 11 months ago (2016-01-21 20:02:55 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 11 months ago (2016-01-21 20:44:47 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 20:45:37 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/61ceb531398741fd759a11f0cc0de26f469c4619
Cr-Commit-Position: refs/heads/master@{#370779}

Powered by Google App Engine
This is Rietveld 408576698