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

Unified Diff: extensions/common/api/cast_channel.idl

Issue 627573002: Enable passing cast channel certificate authority keys. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unneeded header include. 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/common/api/cast_channel.idl
diff --git a/extensions/common/api/cast_channel.idl b/extensions/common/api/cast_channel.idl
index 3d2f7d827dda5d773fbff57a70df97b9c87e1473..04ae1c0dcf6ce6ce0add1e3e703086273cfcc0ea 100644
--- a/extensions/common/api/cast_channel.idl
+++ b/extensions/common/api/cast_channel.idl
@@ -157,7 +157,10 @@ namespace cast.channel {
// See extensions/browser/api/cast_channel/logging.proto for definition.
// Compression is in gzip format.
callback GetLogsCallback = void (ArrayBuffer log);
-
+
+ // Callback from <code>setAuthorityKeys</code> method.
+ callback SetAuthorityKeysCallback = void (DOMString result);
+
interface Functions {
// Opens a new channel to the Cast receiver specified by connectInfo. Only
// one channel may be connected to same receiver from the same extension at
@@ -194,6 +197,13 @@ namespace cast.channel {
// |callback|: If successful, |callback| is invoked with data. Otherwise,
// an error will be raised.
static void getLogs(GetLogsCallback callback);
+
+ // Sets trusted certificate authorities using multiple records in the
mark a. foltz 2014/10/09 17:57:20 Please update docstring to refer to the protobuf.
vadimgo 2014/10/09 23:31:55 Done.
+ // following format:
+ // fingerprint (20 bytes), public key size (2 bytes), public key
+ static void setAuthorityKeys(DOMString signature,
+ DOMString keys,
+ SetAuthorityKeysCallback callback);
};
// Events on the channel.

Powered by Google App Engine
This is Rietveld 408576698