Add full NSHTTPCookie fidelity to WebCore::Cookie.
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Mar 2017 01:54:16 +0000 (01:54 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Mar 2017 01:54:16 +0000 (01:54 +0000)
commit6058805af5d335721850bba5139a68d62fcc0b0a
tree0b55797a5018031e6bda82a3180887f846b1f186
parenta5df7b2a88b8b09bf6c496670ab7c425c7c346e7
Add full NSHTTPCookie fidelity to WebCore::Cookie.
https://bugs.webkit.org/show_bug.cgi?id=169514

Reviewed by Dean Jackson.

No new tests (Refactor, no testable behavior change for now).

* platform/Cookie.h:
(WebCore::Cookie::Cookie):
(WebCore::Cookie::encode):
(WebCore::Cookie::decode):

* platform/network/cocoa/CookieCocoa.mm:
(WebCore::portVectorFromList):
(WebCore::portStringFromVector):
(WebCore::Cookie::Cookie):
(WebCore::Cookie::operator NSHTTPCookie *):

* platform/network/mac/CookieJarMac.mm:
(WebCore::getRawCookies):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@213778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/Cookie.h
Source/WebCore/platform/network/cocoa/CookieCocoa.mm
Source/WebCore/platform/network/mac/CookieJarMac.mm