From 0f4c34fa2846103202d95bbbb5b8d7fe36404fa9 Mon Sep 17 00:00:00 2001 From: Justin Dolske Date: Tue, 10 Mar 2009 14:15:47 -0700 Subject: [PATCH] Bug 481087 - add getAllEncryptedLogins stub to storage-mozStorage.js. r=gavin --- .../passwordmgr/src/storage-mozStorage.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/toolkit/components/passwordmgr/src/storage-mozStorage.js b/toolkit/components/passwordmgr/src/storage-mozStorage.js index d7035a0e656..f56c6914e26 100644 --- a/toolkit/components/passwordmgr/src/storage-mozStorage.js +++ b/toolkit/components/passwordmgr/src/storage-mozStorage.js @@ -480,6 +480,19 @@ LoginManagerStorage_mozStorage.prototype = { }, + /* + * getAllEncryptedLogins + * + * Not implemented. This interface was added to extract logins from the + * legacy storage module without decrypting them. Now that logins are in + * mozStorage, if the encrypted data is really needed it can be easily + * obtained with SQL and the mozStorage APIs. + */ + getAllEncryptedLogins : function (count) { + throw Components.results.NS_ERROR_NOT_IMPLEMENTED; + }, + + /* * removeAllLogins *