Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsICookieManager2.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
1 module dwt.internal.mozilla.nsICookieManager2; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsICookieManager; | |
6 import dwt.internal.mozilla.nsICookie2; | |
7 import dwt.internal.mozilla.nsStringAPI; | |
8 | |
9 const char[] NS_ICOOKIEMANAGER2_IID_STR = "3e73ff5f-154e-494f-b640-3c654ba2cc2b"; | |
10 | |
11 const nsIID NS_ICOOKIEMANAGER2_IID= | |
12 {0x3e73ff5f, 0x154e, 0x494f, | |
13 [ 0xb6, 0x40, 0x3c, 0x65, 0x4b, 0xa2, 0xcc, 0x2b ]}; | |
14 | |
15 interface nsICookieManager2 : nsICookieManager { | |
16 | |
17 static const char[] IID_STR = NS_ICOOKIEMANAGER2_IID_STR; | |
18 static const nsIID IID = NS_ICOOKIEMANAGER2_IID; | |
19 | |
20 extern(System): | |
21 nsresult Add(nsACString * aDomain, nsACString * aPath, nsACString * aName, nsACString * aValue, PRBool aSecure, PRBool aIsSession, PRInt64 aExpiry); | |
22 nsresult FindMatchingCookie(nsICookie2 aCookie, PRUint32 *aCountFromHost, PRBool *_retval); | |
23 } | |
24 |