diff options
Diffstat (limited to 'components/devtools_traits/lib.rs')
-rw-r--r-- | components/devtools_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/devtools_traits/lib.rs b/components/devtools_traits/lib.rs index 63dbe74b6c1..2a3da461ab0 100644 --- a/components/devtools_traits/lib.rs +++ b/components/devtools_traits/lib.rs @@ -23,6 +23,7 @@ use msg::constellation_msg::PipelineId; use util::str::DOMString; use url::Url; +use std::old_io::TcpStream; use std::sync::mpsc::{Sender, Receiver}; pub type DevtoolsControlChan = Sender<DevtoolsControlMsg>; @@ -38,6 +39,7 @@ pub struct DevtoolsPageInfo { /// Messages to the instruct the devtools server to update its known actors/state /// according to changes in the browser. pub enum DevtoolsControlMsg { + AddClient(TcpStream), NewGlobal(PipelineId, Sender<DevtoolScriptControlMsg>, DevtoolsPageInfo), SendConsoleMessage(PipelineId, ConsoleMessage), ServerExitMsg |