1*35d8d4d1SNiels Sascha Reedijk /* 2*35d8d4d1SNiels Sascha Reedijk * Copyright 2010 Haiku Inc. All rights reserved. 3*35d8d4d1SNiels Sascha Reedijk * Distributed under the terms of the MIT License. 4*35d8d4d1SNiels Sascha Reedijk */ 5*35d8d4d1SNiels Sascha Reedijk #ifndef _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 6*35d8d4d1SNiels Sascha Reedijk #define _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 7*35d8d4d1SNiels Sascha Reedijk 8*35d8d4d1SNiels Sascha Reedijk 9*35d8d4d1SNiels Sascha Reedijk #include <HashMap.h> 10*35d8d4d1SNiels Sascha Reedijk 11*35d8d4d1SNiels Sascha Reedijk 12*35d8d4d1SNiels Sascha Reedijk typedef BPrivate::SynchronizedHashMap<HashString, BNetworkCookieList*> 13*35d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap; 14*35d8d4d1SNiels Sascha Reedijk 15*35d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateHashMap : public BNetworkCookieHashMap { 16*35d8d4d1SNiels Sascha Reedijk }; 17*35d8d4d1SNiels Sascha Reedijk 18*35d8d4d1SNiels Sascha Reedijk struct BNetworkCookieJar::PrivateIterator { 19*35d8d4d1SNiels Sascha Reedijk PrivateIterator( 20*35d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator it) 21*35d8d4d1SNiels Sascha Reedijk : 22*35d8d4d1SNiels Sascha Reedijk fCookieMapIterator(it) 23*35d8d4d1SNiels Sascha Reedijk { 24*35d8d4d1SNiels Sascha Reedijk } 25*35d8d4d1SNiels Sascha Reedijk 26*35d8d4d1SNiels Sascha Reedijk HashString fKey; 27*35d8d4d1SNiels Sascha Reedijk BNetworkCookieHashMap::Iterator 28*35d8d4d1SNiels Sascha Reedijk fCookieMapIterator; 29*35d8d4d1SNiels Sascha Reedijk }; 30*35d8d4d1SNiels Sascha Reedijk 31*35d8d4d1SNiels Sascha Reedijk #endif // _B_NETWORK_COOKIE_JAR_PRIVATE_H_ 32