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

Unified Diff: components/bookmarks/browser/bookmark_codec.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: components/bookmarks/browser/bookmark_codec.cc
diff --git a/components/bookmarks/browser/bookmark_codec.cc b/components/bookmarks/browser/bookmark_codec.cc
index 0392c47ad68132a13d12bc2e322b45aae939e3a5..9ea5ae44ead03e1276ff5e2400860bc60396fc6d 100644
--- a/components/bookmarks/browser/bookmark_codec.cc
+++ b/components/bookmarks/browser/bookmark_codec.cc
@@ -386,8 +386,8 @@ bool BookmarkCodec::DecodeMetaInfo(const base::DictionaryValue& value,
if (meta_info->IsType(base::Value::TYPE_STRING)) {
std::string meta_info_str;
meta_info->GetAsString(&meta_info_str);
- JSONStringValueSerializer serializer(meta_info_str);
- deserialized_holder.reset(serializer.Deserialize(nullptr, nullptr));
+ JSONStringValueDeserializer deserializer(meta_info_str);
+ deserialized_holder.reset(deserializer.Deserialize(nullptr, nullptr));
if (!deserialized_holder)
return false;
meta_info = deserialized_holder.get();
« no previous file with comments | « chromeos/tools/onc_validator/onc_validator.cc ('k') | components/bookmarks/browser/bookmark_codec_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698