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:
Dave Townsend 2019-01-09 15:17:13 +00:00
Родитель e1283ad6c2
Коммит 07e80de57e
2 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -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) {