Commit ad2903d6 authored by vsevik@chromium.org's avatar vsevik@chromium.org

DevTools: Do not treat saved path as dot separated keys when saving file systems.

BUG=244337

Review URL: https://chromiumcodereview.appspot.com/15915009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202871 0039d316-1c4b-4281-b951-d872f2087c98
parent 3b379710
...@@ -318,7 +318,8 @@ void DevToolsFileHelper::AddUserConfirmedFileSystem( ...@@ -318,7 +318,8 @@ void DevToolsFileHelper::AddUserConfirmedFileSystem(
DictionaryPrefUpdate update(profile_->GetPrefs(), DictionaryPrefUpdate update(profile_->GetPrefs(),
prefs::kDevToolsFileSystemPaths); prefs::kDevToolsFileSystemPaths);
DictionaryValue* file_systems_paths_value = update.Get(); DictionaryValue* file_systems_paths_value = update.Get();
file_systems_paths_value->Set(file_system_path, Value::CreateNullValue()); file_systems_paths_value->SetWithoutPathExpansion(file_system_path,
Value::CreateNullValue());
FileSystem filesystem = CreateFileSystemStruct(web_contents_, FileSystem filesystem = CreateFileSystemStruct(web_contents_,
file_system_id, file_system_id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment