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

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: Updated as per review comment. 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 2c08b1f2043ed0a6d5bc149e18c15e3979d93bc6..03ba1b0405bd3894620f8a381a5624263896a7d4 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