Lines Matching defs:archive
61 BNetworkCookie::BNetworkCookie(BMessage* archive)
65 archive->FindString(kArchivedCookieName, &fName);
66 archive->FindString(kArchivedCookieValue, &fValue);
68 archive->FindString(kArchivedCookieDomain, &fDomain);
69 archive->FindString(kArchivedCookiePath, &fPath);
70 archive->FindBool(kArchivedCookieSecure, &fSecure);
71 archive->FindBool(kArchivedCookieHttpOnly, &fHttpOnly);
72 archive->FindBool(kArchivedCookieHostOnly, &fHostOnly);
75 // But we still parse the old archive format, where an int32 was used.
78 if (archive->FindString(kArchivedCookieExpirationDate, &expirationString)
82 } else if (archive->FindInt32(kArchivedCookieExpirationDate, &expiration)
697 BNetworkCookie::Instantiate(BMessage* archive)
699 if (archive->HasString(kArchivedCookieName)
700 && archive->HasString(kArchivedCookieValue))
701 return new(std::nothrow) BNetworkCookie(archive);