1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #ifndef mozilla_net_CookieServiceParent_h
7 #define mozilla_net_CookieServiceParent_h
9 #include "mozilla/net/PCookieServiceParent.h"
11 class nsCookieService
;
17 class CookieServiceParent
: public PCookieServiceParent
20 CookieServiceParent();
21 virtual ~CookieServiceParent();
24 virtual bool RecvGetCookieString(const URIParams
& aHost
,
25 const bool& aIsForeign
,
26 const bool& aFromHttp
,
29 virtual bool RecvSetCookieString(const URIParams
& aHost
,
30 const bool& aIsForeign
,
31 const nsCString
& aCookieString
,
32 const nsCString
& aServerTime
,
33 const bool& aFromHttp
);
35 nsRefPtr
<nsCookieService
> mCookieService
;
41 #endif // mozilla_net_CookieServiceParent_h