зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1518575: Remove unused nsIToolkitProfileService.lockProfilePath. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15965 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e1283ad6c2
Коммит
07e80de57e
|
@ -45,13 +45,6 @@ interface nsIToolkitProfileService : nsISupports
|
|||
*/
|
||||
nsIToolkitProfile getProfileByName(in AUTF8String aName);
|
||||
|
||||
/**
|
||||
* Lock an arbitrary path as a profile. If the path does not exist, it
|
||||
* will be created and the defaults copied from the application directory.
|
||||
*/
|
||||
nsIProfileLock lockProfilePath(in nsIFile aDirectory,
|
||||
in nsIFile aTempDirectory);
|
||||
|
||||
/**
|
||||
* Create a new profile.
|
||||
*
|
||||
|
|
|
@ -595,13 +595,6 @@ nsToolkitProfileService::GetProfileByName(const nsACString& aName,
|
|||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsToolkitProfileService::LockProfilePath(nsIFile* aDirectory,
|
||||
nsIFile* aLocalDirectory,
|
||||
nsIProfileLock** aResult) {
|
||||
return NS_LockProfilePath(aDirectory, aLocalDirectory, nullptr, aResult);
|
||||
}
|
||||
|
||||
nsresult NS_LockProfilePath(nsIFile* aPath, nsIFile* aTempPath,
|
||||
nsIProfileUnlocker** aUnlocker,
|
||||
nsIProfileLock** aResult) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче