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

Unified Diff: extensions/browser/api/cast_channel/logger.cc

Issue 2303673004: Hook up Chrome Cast sender to Cast CRL. (Closed)
Patch Set: Fixed nit Created 4 years, 2 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: extensions/browser/api/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index a0d92f3ada71098216b3bed3ca05eb4c1c51ba35..e7b9b020228b638ddaf0e108dee96161f7a5a098 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -58,6 +58,16 @@ proto::ChallengeReplyErrorType ChallegeReplyErrorToProto(
return proto::CHALLENGE_REPLY_ERROR_CANNOT_EXTRACT_PUBLIC_KEY;
case AuthResult::ERROR_SIGNED_BLOBS_MISMATCH:
return proto::CHALLENGE_REPLY_ERROR_SIGNED_BLOBS_MISMATCH;
+ case AuthResult::ERROR_TLS_CERT_VALIDITY_PERIOD_TOO_LONG:
+ return proto::CHALLENGE_REPLY_ERROR_TLS_CERT_VALIDITY_PERIOD_TOO_LONG;
+ case AuthResult::ERROR_TLS_CERT_VALID_START_DATE_IN_FUTURE:
+ return proto::CHALLENGE_REPLY_ERROR_TLS_CERT_VALID_START_DATE_IN_FUTURE;
+ case AuthResult::ERROR_TLS_CERT_EXPIRED:
+ return proto::CHALLENGE_REPLY_ERROR_TLS_CERT_EXPIRED;
+ case AuthResult::ERROR_CRL_INVALID:
+ return proto::CHALLENGE_REPLY_ERROR_CRL_INVALID;
+ case AuthResult::ERROR_CERT_REVOKED:
+ return proto::CHALLENGE_REPLY_ERROR_CERT_REVOKED;
default:
NOTREACHED();
return proto::CHALLENGE_REPLY_ERROR_NONE;
« no previous file with comments | « extensions/browser/api/cast_channel/cast_auth_util_unittest.cc ('k') | extensions/common/api/cast_channel/cast_channel.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698