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. |