aboutsummaryrefslogtreecommitdiffstats
path: root/components/devtools_traits/lib.rs
diff options
context:
space:
mode:
authorAbhishek Kumar <akumar21@ncsu.edu>2015-10-21 18:28:14 -0400
committerAbhishek Kumar <akumar21@ncsu.edu>2015-11-05 00:17:24 -0500
commitb7de946205b5c46c7be0a1ddac1cef816a3051ed (patch)
tree7ddab83a1173e51d132d02ebc330c3e41a64cadb /components/devtools_traits/lib.rs
parent0d15101323b67e06f06451e22b64b15398269d0f (diff)
downloadservo-b7de946205b5c46c7be0a1ddac1cef816a3051ed.tar.gz
servo-b7de946205b5c46c7be0a1ddac1cef816a3051ed.zip
Check in for task 1,4 and 5
Adding pipelineID to httpresponse message, clearner code for task1 Commit for Refactored task Unit tests Removing extra whitespaces. Removing extra whitespaces. Removing tabs whitespaces Making Code tidier. Style issues Fix Test-tidy Fixes
Diffstat (limited to 'components/devtools_traits/lib.rs')
-rw-r--r--components/devtools_traits/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/devtools_traits/lib.rs b/components/devtools_traits/lib.rs
index eb062eb9d60..83d31784003 100644
--- a/components/devtools_traits/lib.rs
+++ b/components/devtools_traits/lib.rs
@@ -264,6 +264,7 @@ pub struct HttpRequest {
pub method: Method,
pub headers: Headers,
pub body: Option<Vec<u8>>,
+ pub pipeline_id: PipelineId,
}
#[derive(Debug, PartialEq)]
@@ -271,6 +272,7 @@ pub struct HttpResponse {
pub headers: Option<Headers>,
pub status: Option<RawStatus>,
pub body: Option<Vec<u8>>,
+ pub pipeline_id: PipelineId,
}
pub enum NetworkEvent {