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

Unified Diff: components/cast_certificate/cast_cert_validator_test_helpers.cc

Issue 2050983002: Cast device revocation checking. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (Rebase only) Created 4 years, 5 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: components/cast_certificate/cast_cert_validator_test_helpers.cc
diff --git a/components/cast_certificate/cast_cert_validator_test_helpers.cc b/components/cast_certificate/cast_cert_validator_test_helpers.cc
index 78c092b1e6ebcbdd58db013b0f52140a73537810..850f7e1c477d18efb6f26415e401670825619e83 100644
--- a/components/cast_certificate/cast_cert_validator_test_helpers.cc
+++ b/components/cast_certificate/cast_cert_validator_test_helpers.cc
@@ -86,6 +86,13 @@ SignatureTestData ReadSignatureTestData(const base::StringPiece& file_name) {
return result;
}
+std::string ReadFromFile(const base::StringPiece& file_name) {
eroman 2016/07/12 21:22:00 This function seems unnecessary -- How about inste
ryanchung 2016/07/14 16:15:25 Done.
+ std::string file_data = ReadTestFileToString(file_name);
+
+ EXPECT_FALSE(file_data.empty());
+ return file_data;
+}
+
} // namespace testing
} // namespace cast_certificate

Powered by Google App Engine
This is Rietveld 408576698