Bug 680855 - Cleanup nsVCardAddress.h r=standard8
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Sat, 10 Sep 2011 14:57:43 +0200
changeset 8466 dd57372e4aa07148ec7b220149902a95e398af18
parent 8465 cd3a86314bd1fbec2144e4eff483427324055880
child 8467 28ce5166f5040ad6d499509f6b21e7e6d48a277b
push id6501
push userjonathan.protzenko@gmail.com
push dateSat, 10 Sep 2011 13:00:12 +0000
treeherdercomm-central@dd57372e4aa0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstandard8
bugs680855
Bug 680855 - Cleanup nsVCardAddress.h r=standard8
mailnews/import/vcard/src/nsVCardAddress.h
--- a/mailnews/import/vcard/src/nsVCardAddress.h
+++ b/mailnews/import/vcard/src/nsVCardAddress.h
@@ -32,32 +32,27 @@
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef nsVCardAddress_h__
 #define nsVCardAddress_h__
 
-#include "nsCOMPtr.h"
-#include "nsStringGlue.h"
-#include "nsIImportFieldMap.h"
-#include "nsIImportService.h"
 #include "prlog.h"
 
 extern PRLogModuleInfo *VCARDLOGMODULE;  // Logging module
 
 #define IMPORT_LOG0(x)          PR_LOG(VCARDLOGMODULE, PR_LOG_DEBUG, (x))
 #define IMPORT_LOG1(x, y)       PR_LOG(VCARDLOGMODULE, PR_LOG_DEBUG, (x, y))
 #define IMPORT_LOG2(x, y, z)    PR_LOG(VCARDLOGMODULE, PR_LOG_DEBUG, (x, y, z))
 #define IMPORT_LOG3(a, b, c, d) PR_LOG(VCARDLOGMODULE, PR_LOG_DEBUG, (a, b, c, d))
 
 class nsIAddrDatabase;
 class nsIFile;
-class nsIInputStream;
 class nsILineInputStream;
 
 class nsVCardAddress {
 public:
   nsVCardAddress();
   virtual ~nsVCardAddress();
 
   nsresult ImportAddresses(
@@ -66,14 +61,12 @@ public:
       nsIFile *pSrc,
       nsIAddrDatabase *pDb,
       nsString& errors,
       PRUint32 *pProgress);
 
 private:
   static nsresult ReadRecord(
       nsILineInputStream *aLineStream, nsCString &aRecord, PRBool *aMore);
-
-  nsCOMPtr<nsIImportService> m_pService;
 };
 
 #endif /* nsVCardAddress_h__ */