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

Issue 10697035: Add a mutable version of CookieMonster::ParsedCookie (Closed)

Created:
8 years, 5 months ago by battre
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, wtc, rkn, Matt Perry
Visibility:
Public.

Description

Add a mutable version of CookieMonster::ParsedCookie This CL implements CookieMonster::MutableParsedCookie which is derived from CookieMonster::ParsedCookie. This allows parsing a cookie and modifying it afterwards. BUG=112155 TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149622

Patch Set 1 #

Patch Set 2 : Rebased to CL that moves ParsedCookie into separate file #

Patch Set 3 : Nits #

Patch Set 4 : Merged with ToT #

Total comments: 12

Patch Set 5 : Addressed comments #

Patch Set 6 : Merged with ToT #

Total comments: 1

Patch Set 7 : Merged with ToT #

Patch Set 8 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+399 lines, -59 lines) Patch
M net/cookies/parsed_cookie.h View 1 2 3 4 5 6 7 3 chunks +44 lines, -10 lines 0 comments Download
M net/cookies/parsed_cookie.cc View 1 2 3 4 5 6 7 4 chunks +217 lines, -49 lines 0 comments Download
M net/cookies/parsed_cookie_unittest.cc View 1 2 3 4 1 chunk +138 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
battre
Hi Erik, this is the foundation for a CL that will introduce the ability to ...
8 years, 5 months ago (2012-06-29 15:18:44 UTC) #1
erikwright (departed)
FYI I'm on leave til the 9th. If it can wait, please do, otherwise wtc ...
8 years, 5 months ago (2012-06-29 15:57:10 UTC) #2
battre
Thanks for the heads up. I can wait. Enjoy your vacation. Best regards, Dominic On ...
8 years, 5 months ago (2012-06-29 16:01:20 UTC) #3
erikwright (departed)
I don't see any benefit to doing this as a subclass vs. just making the ...
8 years, 5 months ago (2012-07-10 13:55:49 UTC) #4
battre
PTAL Thanks, Dominic
8 years, 5 months ago (2012-07-11 15:30:34 UTC) #5
erikwright (departed)
http://codereview.chromium.org/10697035/diff/12001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): http://codereview.chromium.org/10697035/diff/12001/net/cookies/parsed_cookie.cc#newcode99 net/cookies/parsed_cookie.cc:99: static inline bool CharIsA(const char c, const char* chars) ...
8 years, 5 months ago (2012-07-12 15:50:56 UTC) #6
battre
Thanks for the quick review. Best regards, Dominic http://codereview.chromium.org/10697035/diff/12001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): http://codereview.chromium.org/10697035/diff/12001/net/cookies/parsed_cookie.cc#newcode99 net/cookies/parsed_cookie.cc:99: static ...
8 years, 5 months ago (2012-07-12 18:03:10 UTC) #7
battre
The refactoring of the cookie monster is done and landed. Could you please have another ...
8 years, 5 months ago (2012-07-18 17:08:10 UTC) #8
erikwright (departed)
LGTM. https://chromiumcodereview.appspot.com/10697035/diff/14001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://chromiumcodereview.appspot.com/10697035/diff/14001/net/cookies/parsed_cookie.cc#newcode199 net/cookies/parsed_cookie.cc:199: bool ParsedCookie::SetPath(const std::string& path) { If you're concerned ...
8 years, 5 months ago (2012-07-18 17:20:31 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/10697035/25001
8 years, 4 months ago (2012-08-02 11:57:29 UTC) #10
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 13:37:43 UTC) #11
Change committed as 149622

Powered by Google App Engine
This is Rietveld 408576698