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

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: 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: 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 833fb9714d4f0aeba384450f7ef3cce9765ad3c5..45ba77b8dfdc91dc360fa31625da3fb5a864bc4b 100644
--- a/chrome/browser/ui/app_list/start_page_service.cc
+++ b/chrome/browser/ui/app_list/start_page_service.cc
@@ -650,7 +650,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