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

Unified Diff: chrome/browser/ui/app_list/start_page_service.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 comments. 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/browser/ui/app_list/start_page_service.cc
diff --git a/chrome/browser/ui/app_list/start_page_service.cc b/chrome/browser/ui/app_list/start_page_service.cc
index 4df7bbbd343d0e53d48a4f01c8f3e60feca31bb9..0a659340f6a7dc911b41c3d8dd2a87ae8a1bff37 100644
--- a/chrome/browser/ui/app_list/start_page_service.cc
+++ b/chrome/browser/ui/app_list/start_page_service.cc
@@ -637,7 +637,7 @@ void StartPageService::OnURLFetchComplete(const net::URLFetcher* source) {
if (json_start_index != std::string::npos)
json_data_substr.remove_prefix(json_start_index);
- JSONStringValueSerializer deserializer(json_data_substr);
+ JSONStringValueDeserializer deserializer(json_data_substr);
deserializer.set_allow_trailing_comma(true);
int error_code = 0;
scoped_ptr<base::Value> doodle_json(

Powered by Google App Engine
This is Rietveld 408576698