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

Unified Diff: extensions/common/file_util.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 | « extensions/common/extension_l10n_util.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/file_util.cc
diff --git a/extensions/common/file_util.cc b/extensions/common/file_util.cc
index e0ce3399c0b5b7aa263c0aa16f4e26ed25842454..399b6e779344b010fda6a65f5ab504bf3972708d 100644
--- a/extensions/common/file_util.cc
+++ b/extensions/common/file_util.cc
@@ -168,8 +168,8 @@ base::DictionaryValue* LoadManifest(
return NULL;
}
- JSONFileValueSerializer serializer(manifest_path);
- scoped_ptr<base::Value> root(serializer.Deserialize(NULL, error));
+ JSONFileValueDeserializer deserializer(manifest_path);
+ scoped_ptr<base::Value> root(deserializer.Deserialize(NULL, error));
if (!root.get()) {
if (error->empty()) {
// If |error| is empty, than the file could not be read.
« no previous file with comments | « extensions/common/extension_l10n_util.cc ('k') | extensions/common/file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698