equal
deleted
inserted
replaced
85 /**Sets the AppUidL |
85 /**Sets the AppUidL |
86 * @param aAppUid the application UID. |
86 * @param aAppUid the application UID. |
87 * @return Error code indicating the result of the call. |
87 * @return Error code indicating the result of the call. |
88 */ |
88 */ |
89 IMPORT_C TInt SetAppUidL(const TUint32& aAppUid ); |
89 IMPORT_C TInt SetAppUidL(const TUint32& aAppUid ); |
|
90 IMPORT_C void Close(); |
|
91 IMPORT_C TInt StoreCookie( const CCookie& aCookie, |
|
92 const TUriC8& aUri,TUint32& aAppUid); |
|
93 IMPORT_C void GetCookiesL( const TDesC8& aUri, |
|
94 RPointerArray<CCookie>& aCookies, |
|
95 TBool& aCookie2Reqd,TUint32& aAppUid ); |
|
96 IMPORT_C TInt ClearAllAppUidCookies(const TUint32& aAppUid); |
|
97 |
90 |
98 |
91 private : // internal methods |
99 private : // internal methods |
92 /** |
100 /** |
93 * Gets the sum of cookie sizes for a given request URI. After this |
101 * Gets the sum of cookie sizes for a given request URI. After this |
94 * method call there will be available the set of cookies on server-side |
102 * method call there will be available the set of cookies on server-side |
100 * communications. |
108 * communications. |
101 * @return Error code indicating the result of the call. |
109 * @return Error code indicating the result of the call. |
102 */ |
110 */ |
103 TInt DoGetCookieSize( const TDesC8& aRequestUri, |
111 TInt DoGetCookieSize( const TDesC8& aRequestUri, |
104 TPckg<TInt>& aPkgSize ) const; |
112 TPckg<TInt>& aPkgSize ) const; |
|
113 |
|
114 TInt DoGetCookieSize( const TDesC8& aRequestUri, |
|
115 TPckg<TInt>& aPkgSize,TDesC& aAppUidPtr ) const; |
105 |
116 |
106 /** |
117 /** |
107 * Puts those cookies in the buffer that have been previously selected |
118 * Puts those cookies in the buffer that have been previously selected |
108 * on server-side as a result of the GetCookieSize method. |
119 * on server-side as a result of the GetCookieSize method. |
109 * @param aBuffer Buffer to be filled with appropriate cookies. |
120 * @param aBuffer Buffer to be filled with appropriate cookies. |
113 |
124 |
114 /** |
125 /** |
115 * |
126 * |
116 */ |
127 */ |
117 TInt DoStoreCookie( const TDesC8& aPackedCookie, |
128 TInt DoStoreCookie( const TDesC8& aPackedCookie, |
118 const TDesC8& aUri ) const; |
129 const TDesC8& aUri,TDesC& aAppUidPtr ) const; |
119 |
130 |
120 /** |
131 /** |
121 * |
132 * |
122 */ |
133 */ |
123 TVersion Version() const; |
134 TVersion Version() const; |
|
135 |
|
136 TInt DestroyCookiesFromMemory( TInt& aDeleteStatus ); |
|
137 |
|
138 void StoreCookieAtClientSide( const CCookie* aCookie, const TDesC8& aUri,TUint32 aWidgetUid ); |
|
139 |
|
140 TInt GetClientSideCookies( const TDesC8& aRequestUri,RPointerArray<CCookie>& aCookies |
|
141 ,TBool& aFound, TUint32 aWidgetUid ); |
|
142 TInt GetCookieSharableFlagFromServer(TBool& aCookieSharableFlag ) const; |
|
143 |
124 |
144 |
125 private : // data members |
145 private : // data members |
126 RStringPool iStringPool; |
146 RStringPool iStringPool; |
127 |
147 |
128 TCookiePacker iCookiePacker; |
148 TCookiePacker iCookiePacker; |