bool FirefoxPreferencesFile::GetPreferencesDirectory(wstring& directory) { wstring profileIni; _getProfilesIniLocation(profileIni); return _getProfileDirectoryFromProfilesIni(profileIni, directory); }
bool FirefoxAction::_getPreferencesFile(wstring &location) { wstring profileIni; _getProfilesIniLocation(profileIni); if (_getProfileLocationFromProfilesIni(profileIni, location)) { location += L"\\prefs.js"; return true; } else { return false; } }