Index: chrome/common/extensions/api/cast_channel.idl |
diff --git a/chrome/common/extensions/api/cast_channel.idl b/chrome/common/extensions/api/cast_channel.idl |
index d034bf13790ecdd21526d68d184a7ad6ad5e58bf..9ea213688ffb296efffcf9ec462597d33405c6a7 100644 |
--- a/chrome/common/extensions/api/cast_channel.idl |
+++ b/chrome/common/extensions/api/cast_channel.idl |
@@ -42,6 +42,8 @@ namespace cast.channel { |
invalid_message, |
// An invalid channel id was passed. |
invalid_channel_id, |
+ // The connection could not be established before timing out. |
+ connect_timeout, |
// Unspecified error. |
unknown |
}; |
@@ -64,6 +66,11 @@ namespace cast.channel { |
// The port number to connect to, 0-65535. |
long port; |
+ // The amount of time to wait in milliseconds before stopping the |
+ // connection process. Timeouts are disabled if the value is zero. |
+ // The default timeout is 8000ms. |
+ long? timeout; |
+ |
// The authentication method required for the channel. |
ChannelAuthType auth; |
}; |