nsOperaCookieMigrator Class Reference

#include <nsOperaProfileMigrator.h>

Public Types

enum  TAG {
  BEGIN_DOMAIN_SEGMENT = 0x01, DOMAIN_COMPONENT = 0x1E, END_DOMAIN_SEGMENT = 0x84 | 0x80, BEGIN_PATH_SEGMENT = 0x02,
  PATH_COMPONENT = 0x1D, END_PATH_SEGMENT = 0x05 | 0x80, FILTERING_INFO = 0x1F, PATH_HANDLING_INFO = 0x21,
  THIRD_PARTY_HANDLING_INFO = 0x25, BEGIN_COOKIE_SEGMENT = 0x03, COOKIE_ID = 0x10, COOKIE_DATA = 0x11,
  COOKIE_EXPIRY = 0x12, COOKIE_LASTUSED = 0x13, COOKIE_COMMENT = 0x14, COOKIE_COMMENT_URL = 0x15,
  COOKIE_V1_DOMAIN = 0x16, COOKIE_V1_PATH = 0x17, COOKIE_V1_PORT_LIMITATIONS = 0x18, COOKIE_SECURE = 0x19 | 0x80,
  COOKIE_VERSION = 0x1A, COOKIE_OTHERFLAG_1 = 0x1B | 0x80, COOKIE_OTHERFLAG_2 = 0x1C | 0x80, COOKIE_OTHERFLAG_3 = 0x20 | 0x80,
  COOKIE_OTHERFLAG_4 = 0x22 | 0x80, COOKIE_OTHERFLAG_5 = 0x23 | 0x80, COOKIE_OTHERFLAG_6 = 0x24 | 0x80
}
 

Public Member Functions

 nsOperaCookieMigrator (nsIInputStream *aSourceStream)
 
virtual ~nsOperaCookieMigrator ()
 
nsresult Migrate ()
 

Protected Member Functions

 nsOperaCookieMigrator ()
 
nsresult ReadHeader ()
 
void SynthesizePath (char **aResult)
 
void SynthesizeDomain (char **aResult)
 
nsresult AddCookieOverride (nsIPermissionManager *aManager)
 
nsresult AddCookie (nsICookieManager2 *aManager)
 

Detailed Description

Definition at line 150 of file nsOperaProfileMigrator.h.

Member Enumeration Documentation

Enumerator
BEGIN_DOMAIN_SEGMENT 
DOMAIN_COMPONENT 
END_DOMAIN_SEGMENT 
BEGIN_PATH_SEGMENT 
PATH_COMPONENT 
END_PATH_SEGMENT 
FILTERING_INFO 
PATH_HANDLING_INFO 
THIRD_PARTY_HANDLING_INFO 
BEGIN_COOKIE_SEGMENT 
COOKIE_ID 
COOKIE_DATA 
COOKIE_EXPIRY 
COOKIE_LASTUSED 
COOKIE_COMMENT 
COOKIE_COMMENT_URL 
COOKIE_V1_DOMAIN 
COOKIE_V1_PATH 
COOKIE_V1_PORT_LIMITATIONS 
COOKIE_SECURE 
COOKIE_VERSION 
COOKIE_OTHERFLAG_1 
COOKIE_OTHERFLAG_2 
COOKIE_OTHERFLAG_3 
COOKIE_OTHERFLAG_4 
COOKIE_OTHERFLAG_5 
COOKIE_OTHERFLAG_6 

Definition at line 158 of file nsOperaProfileMigrator.h.

Constructor & Destructor Documentation

nsOperaCookieMigrator::nsOperaCookieMigrator ( nsIInputStream *  aSourceStream)

Definition at line 645 of file nsOperaProfileMigrator.cpp.

nsOperaCookieMigrator::~nsOperaCookieMigrator ( )
virtual

Definition at line 657 of file nsOperaProfileMigrator.cpp.

nsOperaCookieMigrator::nsOperaCookieMigrator ( )
inlineprotected

Definition at line 191 of file nsOperaProfileMigrator.h.

Member Function Documentation

nsresult nsOperaCookieMigrator::AddCookie ( nsICookieManager2 *  aManager)
protected

Definition at line 896 of file nsOperaProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsOperaCookieMigrator::AddCookieOverride ( nsIPermissionManager aManager)
protected

Definition at line 873 of file nsOperaProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsOperaCookieMigrator::Migrate ( )

Definition at line 665 of file nsOperaProfileMigrator.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsOperaCookieMigrator::ReadHeader ( )
protected

Definition at line 957 of file nsOperaProfileMigrator.cpp.

Here is the caller graph for this function:

void nsOperaCookieMigrator::SynthesizeDomain ( char **  aResult)
protected

Definition at line 940 of file nsOperaProfileMigrator.cpp.

Here is the caller graph for this function:

void nsOperaCookieMigrator::SynthesizePath ( char **  aResult)
protected

Definition at line 924 of file nsOperaProfileMigrator.cpp.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: