Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsPasswordManager.cpp File Reference
#include "nsPasswordManager.h"
#include "nsIFile.h"
#include "nsNetUtil.h"
#include "nsILineInputStream.h"
#include "plbase64.h"
#include "nsISecretDecoderRing.h"
#include "nsIPasswordInternal.h"
#include "nsIPrompt.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsIPrefBranch2.h"
#include "prmem.h"
#include "nsIStringBundle.h"
#include "nsArray.h"
#include "nsICategoryManager.h"
#include "nsIObserverService.h"
#include "nsIDocumentLoader.h"
#include "nsIWebProgress.h"
#include "nsIDOMDocument.h"
#include "nsIDOMWindow.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLCollection.h"
#include "nsIForm.h"
#include "nsIDOMHTMLInputElement.h"
#include "nsIContent.h"
#include "nsIFormControl.h"
#include "nsIDOMWindowInternal.h"
#include "nsCURILoader.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsIDOMEventTarget.h"
#include "nsIDOMHTMLFormElement.h"
#include "nsIAutoCompleteResult.h"
#include "nsIPK11TokenDB.h"
#include "nsIPK11Token.h"

Go to the source code of this file.

Classes

class  nsPasswordManager::SignonDataEntry
class  nsPasswordManager::SignonHashEntry
class  nsPasswordManager::PasswordEntry
struct  findEntryContext
class  UserAutoComplete

Functions

 NS_IMPL_ISUPPORTS2 (nsPasswordManager::PasswordEntry, nsIPassword, nsIPasswordInternal) nsPasswordManager
 SortPRUnicharComparator (const void *aElement1, const void *aElement2, void *aData)

Variables

static const char kPMPropertiesURL [] = "chrome://passwordmgr/locale/passwordmgr.properties"
static PRBool sRememberPasswords = PR_FALSE
static PRBool sPrefsInitialized = PR_FALSE
static PRBool sPasswordsLoaded = PR_FALSE
static nsIStringBundlesPMBundle
static nsISecretDecoderRingsDecoderRing
static nsPasswordManagersPasswordManager

Function Documentation

Definition at line 132 of file nsPasswordManager.cpp.

  : mHost(aKey)
{
    mDecrypted[0] = mDecrypted[1] = PR_FALSE;

  if (aData) {
    mUser.Assign(aData->userValue);
    mUserField.Assign(aData->userField);
    mPassword.Assign(aData->passValue);
    mPasswordField.Assign(aData->passField);
    mActionOrigin.Assign(aData->actionOrigin);
  }
}
SortPRUnicharComparator ( const void aElement1,
const void aElement2,
void aData 
)

Definition at line 1417 of file nsPasswordManager.cpp.

{
  return nsCRT::strcmp(NS_STATIC_CAST(const PRUnichar*, aElement1),
                       NS_STATIC_CAST(const PRUnichar*, aElement2));
}

Here is the caller graph for this function:


Variable Documentation

const char kPMPropertiesURL[] = "chrome://passwordmgr/locale/passwordmgr.properties" [static]

Definition at line 75 of file nsPasswordManager.cpp.

Definition at line 81 of file nsPasswordManager.cpp.

Definition at line 82 of file nsPasswordManager.cpp.

Definition at line 78 of file nsPasswordManager.cpp.

Definition at line 80 of file nsPasswordManager.cpp.

Definition at line 77 of file nsPasswordManager.cpp.

Definition at line 76 of file nsPasswordManager.cpp.