Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4057)

Unified Diff: chrome/browser/devtools/devtools_file_helper.cc

Issue 15915009: DevTools: Do not treat saved path as dot separated keys when saving file systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/devtools/devtools_file_helper.cc
diff --git a/chrome/browser/devtools/devtools_file_helper.cc b/chrome/browser/devtools/devtools_file_helper.cc
index fe7277cceb605f8253fb02f8d3dd9575b549a2fb..d715ff2b4c14eab75a6e2cd92cb1dad8049283c0 100644
--- a/chrome/browser/devtools/devtools_file_helper.cc
+++ b/chrome/browser/devtools/devtools_file_helper.cc
@@ -318,7 +318,8 @@ void DevToolsFileHelper::AddUserConfirmedFileSystem(
DictionaryPrefUpdate update(profile_->GetPrefs(),
prefs::kDevToolsFileSystemPaths);
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_,
file_system_id,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698