Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsICookieManager Interface Reference

An optional interface for accessing or removing the cookies that are in the cookie list. More...

import "nsICookieManager.idl";

Inheritance diagram for nsICookieManager:
Inheritance graph
[legend]
Collaboration diagram for nsICookieManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void removeAll ()
 Called to remove all cookies from the cookie list.
void remove (in AUTF8String aDomain, in ACString aName, in AUTF8String aPath, in boolean aBlocked)
 Called to remove an individual cookie from the cookie list.

Public Attributes

readonly attribute
nsISimpleEnumerator 
enumerator
 Called to enumerate through each cookie in the cookie list.

Detailed Description

An optional interface for accessing or removing the cookies that are in the cookie list.

FROZEN

Definition at line 50 of file nsICookieManager.idl.


Member Function Documentation

void nsICookieManager::remove ( in AUTF8String  aDomain,
in ACString  aName,
in AUTF8String  aPath,
in boolean  aBlocked 
)

Called to remove an individual cookie from the cookie list.

Parameters:
aDomainThe host or domain for which the cookie was set
aNameThe name specified in the cookie
aBlockedIndicates if cookies from this host should be permanently blocked

Called to remove all cookies from the cookie list.


Member Data Documentation

Called to enumerate through each cookie in the cookie list.

The objects enumerated over are of type nsICookie

Definition at line 62 of file nsICookieManager.idl.


The documentation for this interface was generated from the following file: