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

Unified Diff: base/test/values_test_util.h

Issue 178253007: Parse manifest file with app.service_worker.script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | base/test/values_test_util.cc » ('j') | base/test/values_test_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/values_test_util.h
diff --git a/base/test/values_test_util.h b/base/test/values_test_util.h
index 86d91c3868f0cca38b93f6381756eb0689c9903c..b14ce84f02f72e8b67563db2ec5a73e2ff64ba80 100644
--- a/base/test/values_test_util.h
+++ b/base/test/values_test_util.h
@@ -50,6 +50,12 @@ namespace test {
// failure and returns the Null Value (but never a NULL pointer).
scoped_ptr<Value> ParseJson(base::StringPiece json);
+// Parses |json| allowing trailing commas and replacing single quotes with
+// double quotes for test readability. Returns an empty dictionary if the json
Jeffrey Yasskin 2014/03/04 01:41:48 Mention the EXPECT failure here.
scheib 2014/03/04 15:34:31 Done.
+// fails to parse.
+scoped_ptr<DictionaryValue> ParseJsonDictionaryWithSingleQuotes(
+ base::StringPiece json);
+
} // namespace test
} // namespace base
« no previous file with comments | « no previous file | base/test/values_test_util.cc » ('j') | base/test/values_test_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698