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

Unified Diff: chromeos/network/onc/onc_test_utils.h

Issue 11578052: Replace OncNetworkParser by the new ONC translator. (Closed) Base URL: http://git.chromium.org/chromium/src.git@extend_onc_to_shill
Patch Set: Rebased. Created 7 years, 11 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 | « chrome/test/pyautolib/pyauto.py ('k') | chromeos/network/onc/onc_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/onc/onc_test_utils.h
diff --git a/chromeos/network/onc/onc_test_utils.h b/chromeos/network/onc/onc_test_utils.h
index bc0d80e81890ecec061b863d2a04011f6648141b..85e912d6f7864504f3145554180068fb9bdc1a0a 100644
--- a/chromeos/network/onc/onc_test_utils.h
+++ b/chromeos/network/onc/onc_test_utils.h
@@ -18,6 +18,9 @@ namespace chromeos {
namespace onc {
namespace test_utils {
+// Read the file at |filename| as a string. CHECKs if any error occurs.
+std::string ReadTestData(const std::string& filename);
+
// Read a JSON dictionary from |filename| and return it as a
// DictionaryValue. CHECKs if any error occurs.
scoped_ptr<base::DictionaryValue> ReadTestDictionary(
« no previous file with comments | « chrome/test/pyautolib/pyauto.py ('k') | chromeos/network/onc/onc_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698