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

Unified Diff: chrome/browser/extensions/app_notification_storage.cc

Issue 9960077: Modify the base::JSONReader interface to take a set of options rather than a boolean flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 8 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/extensions/app_notification_storage.cc
diff --git a/chrome/browser/extensions/app_notification_storage.cc b/chrome/browser/extensions/app_notification_storage.cc
index 914f997b077b30cc94975bffc61cfa1d6ae1d864..42f11b2b2feff3f8947801944c23c681bcab4dc7 100644
--- a/chrome/browser/extensions/app_notification_storage.cc
+++ b/chrome/browser/extensions/app_notification_storage.cc
@@ -80,8 +80,7 @@ void AppNotificationListToJSON(const AppNotificationList& list,
bool JSONToAppNotificationList(const std::string& json,
AppNotificationList* list) {
CHECK(list);
- scoped_ptr<Value> value(JSONReader::Read(json,
- false /* allow_trailing_comma */));
+ scoped_ptr<Value> value(JSONReader::Read(json));
if (!value.get() || value->GetType() != Value::TYPE_LIST)
return false;

Powered by Google App Engine
This is Rietveld 408576698