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

Unified Diff: extensions/common/file_util_unittest.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/file_util.cc ('k') | extensions/common/manifest_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/file_util_unittest.cc
diff --git a/extensions/common/file_util_unittest.cc b/extensions/common/file_util_unittest.cc
index 7e2f51d3c63094bda7deb62ab2adeb6969719341..750f598307217ede9c68d0f56b3c4edd0709e3ed 100644
--- a/extensions/common/file_util_unittest.cc
+++ b/extensions/common/file_util_unittest.cc
@@ -43,8 +43,8 @@ scoped_refptr<Extension> LoadExtensionManifest(
Manifest::Location location,
int extra_flags,
std::string* error) {
- JSONStringValueSerializer serializer(manifest_value);
- scoped_ptr<base::Value> result(serializer.Deserialize(NULL, error));
+ JSONStringValueDeserializer deserializer(manifest_value);
+ scoped_ptr<base::Value> result(deserializer.Deserialize(NULL, error));
if (!result.get())
return NULL;
CHECK_EQ(base::Value::TYPE_DICTIONARY, result->GetType());
« no previous file with comments | « extensions/common/file_util.cc ('k') | extensions/common/manifest_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698