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

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

Issue 627573002: Enable passing cast channel certificate authority keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed initialization code. Created 6 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/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 560f698d2b57430d7071dcae8d5b218426a094d9..ea182150135a749c7a5711e3b368d342f0a97daf 100644
--- a/extensions/browser/api/cast_channel/cast_auth_util.h
+++ b/extensions/browser/api/cast_channel/cast_auth_util.h
@@ -58,6 +58,10 @@ struct AuthResult {
AuthResult AuthenticateChallengeReply(const CastMessage& challenge_reply,
const std::string& peer_cert);
+// Sets trusted certificate authorities.
+bool SetTrustedCertificateAuthorities(const std::string& signature,
+ const std::string& keys);
Ryan Sleevi 2014/10/09 21:02:42 nit: Logically, I tend to think of "keys" and then
vadimgo 2014/10/09 23:31:55 I will make this change if you insist, but if I ca
+
} // namespace cast_channel
} // namespace core_api
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698