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

Unified Diff: chrome/installer/util/uninstall_metrics.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
« no previous file with comments | « chrome/installer/util/master_preferences.cc ('k') | chrome/installer/util/uninstall_metrics_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/uninstall_metrics.cc
diff --git a/chrome/installer/util/uninstall_metrics.cc b/chrome/installer/util/uninstall_metrics.cc
index da8ca03518c5e5e753bd07b917158587537f9771..fe2ee436804cb1941a4882867565f0b21cbc079c 100644
--- a/chrome/installer/util/uninstall_metrics.cc
+++ b/chrome/installer/util/uninstall_metrics.cc
@@ -74,10 +74,10 @@ bool ExtractUninstallMetrics(const base::DictionaryValue& root,
bool ExtractUninstallMetricsFromFile(const base::FilePath& file_path,
base::string16* uninstall_metrics_string) {
- JSONFileValueSerializer json_serializer(file_path);
+ JSONFileValueDeserializer json_deserializer(file_path);
std::string json_error_string;
- scoped_ptr<base::Value> root(json_serializer.Deserialize(NULL, NULL));
+ scoped_ptr<base::Value> root(json_deserializer.Deserialize(NULL, NULL));
if (!root.get())
return false;
« no previous file with comments | « chrome/installer/util/master_preferences.cc ('k') | chrome/installer/util/uninstall_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698