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 1602283002: Convert some raw CanonicalCookie ptrs to scoped_ptr<CanonicalCookie>. (Closed)

Created:
4 years, 11 months ago by tfh
Modified:
4 years, 11 months ago
Reviewers:
droger, eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert some raw CanonicalCookie ptrs to scoped_ptr<CanonicalCookie>. BUG=479898 Committed: https://crrev.com/4623ce800b2050be83f307f351fb5a8addf3e676 Cr-Commit-Position: refs/heads/master@{#370665}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix missed CanonicalCookie::Create() callsite in ios/net/cookies/cookie_store_ios_unittest.mm #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -180 lines) Patch
M ios/net/cookies/cookie_store_ios_unittest.mm View 1 1 chunk +5 lines, -2 lines 0 comments Download
M net/cookies/canonical_cookie.h View 2 chunks +17 lines, -16 lines 0 comments Download
M net/cookies/canonical_cookie.cc View 4 chunks +35 lines, -32 lines 0 comments Download
M net/cookies/canonical_cookie_unittest.cc View 14 chunks +98 lines, -122 lines 0 comments Download
M net/cookies/cookie_monster.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/cookies/cookie_monster_unittest.cc View 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 28 (10 generated)
tfh
Please take a look :) I also noticed unusual use of a scoped_ptr<CanonicalCookie>* type in ...
4 years, 11 months ago (2016-01-19 21:18:12 UTC) #3
eroman
Regarding SetCanonicalCookie(), save that for a different CL. At first glance it looks like it ...
4 years, 11 months ago (2016-01-19 21:24:52 UTC) #4
eroman
The change looksgood, except for a possible bug in the unit-test. After fixing please send ...
4 years, 11 months ago (2016-01-19 21:36:51 UTC) #5
tfh
On 2016/01/19 21:36:51, eroman wrote: > After fixing please send the change to the ASAN ...
4 years, 11 months ago (2016-01-19 23:14:46 UTC) #6
tfh
https://codereview.chromium.org/1602283002/diff/1/net/cookies/cookie_monster_unittest.cc File net/cookies/cookie_monster_unittest.cc (right): https://codereview.chromium.org/1602283002/diff/1/net/cookies/cookie_monster_unittest.cc#newcode2826 net/cookies/cookie_monster_unittest.cc:2826: // This cookie will be freed by the CookieMonster. ...
4 years, 11 months ago (2016-01-19 23:15:17 UTC) #7
eroman
https://codereview.chromium.org/1602283002/diff/1/net/cookies/cookie_monster_unittest.cc File net/cookies/cookie_monster_unittest.cc (right): https://codereview.chromium.org/1602283002/diff/1/net/cookies/cookie_monster_unittest.cc#newcode2826 net/cookies/cookie_monster_unittest.cc:2826: // This cookie will be freed by the CookieMonster. ...
4 years, 11 months ago (2016-01-19 23:35:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1602283002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1602283002/1
4 years, 11 months ago (2016-01-20 00:13:47 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/160595)
4 years, 11 months ago (2016-01-20 00:26:46 UTC) #12
tfh
The ios trybots found an extra callsite I missed, please take a look :)
4 years, 11 months ago (2016-01-20 22:29:23 UTC) #13
eroman
patchset2 lgtm
4 years, 11 months ago (2016-01-20 22:31:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1602283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1602283002/20001
4 years, 11 months ago (2016-01-20 22:38:44 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/137398)
4 years, 11 months ago (2016-01-20 22:59:48 UTC) #18
tfh
Hey droger, please can you check ios/net/cookies/cookie_store_ios_unittest.mm? (I have no idea if it's possible to ...
4 years, 11 months ago (2016-01-20 23:41:47 UTC) #20
eroman
> (I have no idea if it's possible to resubmit a patchset, newbie here) Not ...
4 years, 11 months ago (2016-01-21 00:01:23 UTC) #21
droger
lgtm
4 years, 11 months ago (2016-01-21 08:51:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1602283002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1602283002/20001
4 years, 11 months ago (2016-01-21 10:32:58 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-21 10:37:45 UTC) #26
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 10:39:29 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4623ce800b2050be83f307f351fb5a8addf3e676
Cr-Commit-Position: refs/heads/master@{#370665}

Powered by Google App Engine
This is Rietveld 408576698