aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits/lib.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-05-11 04:28:58 -0700
committerbors-servo <lbergstrom+bors@mozilla.com>2016-05-11 04:28:58 -0700
commitb61ad4190f7fb7d4fa32e01a0e3db77a912cb7cf (patch)
tree74f10fcea0078e5edb32ef9bb50a16fd038729eb /components/net_traits/lib.rs
parent3636b00e6fcaddbdaa0bdc75358e36d6c1bba9a9 (diff)
parentc618ee21d0cca19631ebab9a1d735c48a0a7679a (diff)
downloadservo-b61ad4190f7fb7d4fa32e01a0e3db77a912cb7cf.tar.gz
servo-b61ad4190f7fb7d4fa32e01a0e3db77a912cb7cf.zip
Auto merge of #11029 - izgzhen:filemanager_thread, r=Manishearth
Add FileManagerThread This is intended to support the File API implementation. Basically an event loop with three kinds of messages: + Select a file + Read a file with ID + Delete the ID from manager-owned map The design decision in this PR is not the final (or best I think) version, welcome reviews :) TODOs: - [x] Add multiple file selection <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11029) <!-- Reviewable:end -->
Diffstat (limited to 'components/net_traits/lib.rs')
-rw-r--r--components/net_traits/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs
index 33ef19ef3bd..8d67f534086 100644
--- a/components/net_traits/lib.rs
+++ b/components/net_traits/lib.rs
@@ -26,6 +26,7 @@ extern crate msg;
extern crate serde;
extern crate url;
extern crate util;
+extern crate uuid;
extern crate websocket;
use hyper::header::{ContentType, Headers};
@@ -42,6 +43,7 @@ use websocket::header;
pub mod bluetooth_scanfilter;
pub mod bluetooth_thread;
+pub mod filemanager_thread;
pub mod hosts;
pub mod image_cache_thread;
pub mod net_error_list;