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

Issue 2874843002: Shifted creation of unvalidated CanonicalCookies over to a constructor. (Closed)

Created:
3 years, 7 months ago by Randy Smith (Not in Mondays)
Modified:
3 years, 7 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Shifted creation of unvalidated CanonicalCookies over to a constructor. The existing Create() method allowed creation of arbitrary (unvalidated) CanonicalCookies, but they could only be created from heap allocations. This allows more flexibility in creating such cookies. BUG=None R=mmenke@chromium.org Review-Url: https://codereview.chromium.org/2874843002 Cr-Commit-Position: refs/heads/master@{#472127} Committed: https://chromium.googlesource.com/chromium/src/+/51010b09aee5cfb455f39cee84cbdbaf58169cde

Patch Set 1 #

Patch Set 2 : Switched everything I could find over to constructor. #

Patch Set 3 : Switch missed Create over to constructor. #

Patch Set 4 : Merged to top of dependent CL. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -211 lines) Patch
M chrome/browser/android/cookies/cookies_fetcher.cc View 1 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/cookies/cookies_unittest.cc View 1 4 chunks +17 lines, -14 lines 0 comments Download
M components/signin/core/browser/gaia_cookie_manager_service.cc View 1 2 chunks +6 lines, -4 lines 0 comments Download
M content/browser/browsing_data/browsing_data_remover_impl_unittest.cc View 1 1 chunk +5 lines, -4 lines 0 comments Download
M content/browser/net/quota_policy_cookie_store_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M headless/public/util/generic_url_request_job_test.cc View 1 7 chunks +7 lines, -7 lines 0 comments Download
M ios/net/cookies/cookie_cache_unittest.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M ios/net/cookies/cookie_store_ios.mm View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M ios/net/cookies/cookie_store_ios_test_util.mm View 1 2 chunks +2 lines, -1 line 0 comments Download
M ios/net/cookies/system_cookie_util.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ios/net/cookies/system_cookie_util_unittest.mm View 1 2 chunks +2 lines, -2 lines 0 comments Download
M net/cookies/canonical_cookie.h View 1 3 chunks +16 lines, -31 lines 0 comments Download
M net/cookies/canonical_cookie.cc View 1 3 chunks +23 lines, -44 lines 0 comments Download
M net/cookies/canonical_cookie_unittest.cc View 1 17 chunks +28 lines, -26 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M net/cookies/cookie_monster_store_test.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 1 4 chunks +32 lines, -32 lines 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store.cc View 2 chunks +2 lines, -1 line 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_perftest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M net/extras/sqlite/sqlite_persistent_cookie_store_unittest.cc View 1 7 chunks +18 lines, -18 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 31 (21 generated)
Randy Smith (Not in Mondays)
Whenever you get a chance--there are several things (including code reviews for you :-}) that ...
3 years, 7 months ago (2017-05-11 05:51:51 UTC) #13
mmenke
LGTM!
3 years, 7 months ago (2017-05-11 15:14:49 UTC) #14
Randy Smith (Not in Mondays)
Same suspect as last time; PTAL? This is a fairly mechanical change, probably TBRable, though ...
3 years, 7 months ago (2017-05-12 18:05:39 UTC) #18
jam
lgtm
3 years, 7 months ago (2017-05-12 19:52:50 UTC) #21
Elly Fong-Jones
ios/net lgtm
3 years, 7 months ago (2017-05-12 19:53:57 UTC) #22
Mike West
lgtm
3 years, 7 months ago (2017-05-15 07:37:49 UTC) #23
Roger Tawa OOO till Jul 10th
components/signin lgtm
3 years, 7 months ago (2017-05-15 15:16:59 UTC) #24
alex clarke (OOO till 29th)
headless LGTM
3 years, 7 months ago (2017-05-16 12:42:21 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2874843002/60001
3 years, 7 months ago (2017-05-16 14:19:39 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 16:23:41 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/51010b09aee5cfb455f39cee84cb...

Powered by Google App Engine
This is Rietveld 408576698