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

Unified Diff: chrome/browser/extensions/extension_function_test_utils.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/extension_function_test_utils.cc
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc
index c35c8a37b2d628c2f91c87492e18592a97f24d68..c3c974b10211a22a08f566135364d6c396d4627a 100644
--- a/chrome/browser/extensions/extension_function_test_utils.cc
+++ b/chrome/browser/extensions/extension_function_test_utils.cc
@@ -44,8 +44,7 @@ class TestFunctionDispatcherDelegate
namespace extension_function_test_utils {
base::Value* ParseJSON(const std::string& data) {
- const bool kAllowTrailingComma = false;
- return base::JSONReader::Read(data, kAllowTrailingComma);
+ return base::JSONReader::Read(data);
}
base::ListValue* ParseList(const std::string& data) {

Powered by Google App Engine
This is Rietveld 408576698