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

Unified Diff: chrome/installer/util/master_preferences.cc

Issue 925783002: Split ValueSerializer into separate Serializer and Deserializer classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed cpplint warnings. Created 5 years, 10 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
Index: chrome/installer/util/master_preferences.cc
diff --git a/chrome/installer/util/master_preferences.cc b/chrome/installer/util/master_preferences.cc
index bcb6b8bc03317086003390b65921ad90ba23418e..ec71d23a3293ec3e60d40318f51c88ed5a6db335 100644
--- a/chrome/installer/util/master_preferences.cc
+++ b/chrome/installer/util/master_preferences.cc
@@ -51,7 +51,7 @@ std::vector<std::string> GetNamedList(const char* name,
base::DictionaryValue* ParseDistributionPreferences(
const std::string& json_data) {
- JSONStringValueSerializer json(json_data);
+ JSONStringValueDeserializer json(json_data);
std::string error;
scoped_ptr<base::Value> root(json.Deserialize(NULL, &error));
if (!root.get()) {

Powered by Google App Engine
This is Rietveld 408576698