devtools: fix filesyatem api usage and use prefs to track filesystem paths

This commit is contained in:
Robo 2016-03-15 07:51:36 +05:30
parent e92d002eec
commit cdc7b8d15e
5 changed files with 86 additions and 42 deletions

View file

@ -194,6 +194,7 @@ void AtomBrowserContext::RegisterPrefs(PrefRegistrySimple* pref_registry) {
PathService::Get(chrome::DIR_DEFAULT_DOWNLOADS, &download_dir);
pref_registry->RegisterFilePathPref(prefs::kDownloadDefaultDirectory,
download_dir);
pref_registry->RegisterDictionaryPref(prefs::kDevToolsFileSystemPaths);
}
bool AtomBrowserContext::AllowNTLMCredentialsForDomain(const GURL& origin) {