diff --git a/profile/public/MANIFEST_IDL b/profile/public/MANIFEST_IDL index 308feca253af..170191bb7f9e 100644 --- a/profile/public/MANIFEST_IDL +++ b/profile/public/MANIFEST_IDL @@ -1 +1,2 @@ nsIProfile.idl +nsIProfileStartupListener.idl diff --git a/profile/public/Makefile.in b/profile/public/Makefile.in index 3cb2ef82b09b..6b0cd36b7bd1 100644 --- a/profile/public/Makefile.in +++ b/profile/public/Makefile.in @@ -28,7 +28,10 @@ include $(DEPTH)/config/autoconf.mk MODULE = profile -XPIDLSRCS = nsIProfile.idl +XPIDLSRCS = \ + nsIProfile.idl \ + nsIProfileStartupListener.idl \ + $(NULL) include $(topsrcdir)/config/rules.mk diff --git a/profile/public/makefile.win b/profile/public/makefile.win index e7a83501e8df..fec9e839a054 100644 --- a/profile/public/makefile.win +++ b/profile/public/makefile.win @@ -31,6 +31,7 @@ EXPORTS=nsIAccount.h \ XPIDLSRCS = \ .\nsIProfile.idl \ + .\nsIProfileStartupListener.idl \ $(NULL) include <$(DEPTH)\config\rules.mak> diff --git a/profile/public/nsIProfile.idl b/profile/public/nsIProfile.idl index 46afa3be4564..90e6b6004b60 100644 --- a/profile/public/nsIProfile.idl +++ b/profile/public/nsIProfile.idl @@ -40,7 +40,8 @@ interface nsIFileSpec; #define NS_PROFILE_PROGID \ "component://netscape/profile/manager" -#define PREG_PREF "browser.registration.enable" +#define NS_PROFILE_STARTUP_CATEGORY \ + "profile-startup-category" %} [ptr] native nsFileSpec(nsFileSpec); @@ -77,14 +78,6 @@ interface nsIProfile : nsISupports { void migrateProfile(in wstring profileName, in boolean showProgressAsModalWindow); - string getCookie(); - - void ProcessPRegCookie(); - - string isPregCookieSet(in wstring profileName); - - void processPREGInfo(in string data); - long get4xProfileCount(); void migrateAllProfiles(); @@ -92,11 +85,15 @@ interface nsIProfile : nsISupports { void forgetCurrentProfile(); void loadNewProfilePrefs(); boolean isCurrentProfileAvailable(); - void removeCookie(in string cookie); attribute boolean automigrate; readonly attribute nsIFileSpec defaultProfileParentDir; + + void updateRegistry(); + void setRegString(in wstring profileName, in wstring regString); + string isRegStringSet(in wstring profileName); + }; #endif /* nsIProfile_h__ */