зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 28888, 27948. Moving activation code out of mozilla. r=alecf
This commit is contained in:
Родитель
36b81ea82b
Коммит
80f2cdeabf
|
@ -1 +1,2 @@
|
|||
nsIProfile.idl
|
||||
nsIProfileStartupListener.idl
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ EXPORTS=nsIAccount.h \
|
|||
|
||||
XPIDLSRCS = \
|
||||
.\nsIProfile.idl \
|
||||
.\nsIProfileStartupListener.idl \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Загрузка…
Ссылка в новой задаче