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

Unified Diff: extensions/browser/api/cast_channel/cast_auth_util.h

Issue 807723004: Cast audio only policy enforcement support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check audio only policy against client auth certificate part of the response Created 5 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
Index: extensions/browser/api/cast_channel/cast_auth_util.h
diff --git a/extensions/browser/api/cast_channel/cast_auth_util.h b/extensions/browser/api/cast_channel/cast_auth_util.h
index b68d211f9704fb41913a87b58426239bb69e757b..200efedaf2a96f8456a02e68011d3e4f038d818d 100644
--- a/extensions/browser/api/cast_channel/cast_auth_util.h
+++ b/extensions/browser/api/cast_channel/cast_auth_util.h
@@ -46,6 +46,7 @@ struct AuthResult {
bool success() const { return error_type == ERROR_NONE; }
std::string error_message;
+ std::string client_auth_certificate;
mark a. foltz 2015/01/12 22:01:56 A better API would test the client_auth_certificat
vadimgo 2015/01/13 00:08:27 Store the policy in AuthResult as suggested.
ErrorType error_type;
int nss_error_code;

Powered by Google App Engine
This is Rietveld 408576698