DescriptionAdd IncludeForRequestURL method to CanonicalCookie.
Move the code for checking whether to include a cookie or not from the CookieMonster to the new method in CanonicalCookie. This means the new method IncludeForRequestURL returns true when the cookie should be included for the given |url| and cookie options.
Change the CookieMonster to use the IncludeForRequestURL method of CanonicalCookie to test whether a cookie should be included or not.
TEST=CanonicalCookieTest.IncludeForRequestURL (net_unittests)
BUG=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172668
Patch Set 1 #
Total comments: 1
Patch Set 2 : " #Patch Set 3 : " #Patch Set 4 : Remove unrelated changes. #Patch Set 5 : s/IncludeForRequest/IncludeForRequestURL/ #
Total comments: 15
Patch Set 6 : Address comments erikwright. #Patch Set 7 : " #
Messages
Total messages: 12 (0 generated)
|