OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/spdy/spdy_io_buffer.h" | 5 #include "net/spdy/spdy_io_buffer.h" |
6 #include "net/spdy/spdy_stream.h" | 6 #include "net/spdy/spdy_stream.h" |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 SpdyIOBuffer::SpdyIOBuffer() {} | 10 SpdyIOBuffer::SpdyIOBuffer() {} |
(...skipping 18 matching lines...) Expand all Loading... |
29 buffer_.swap(other->buffer_); | 29 buffer_.swap(other->buffer_); |
30 stream_.swap(other->stream_); | 30 stream_.swap(other->stream_); |
31 } | 31 } |
32 | 32 |
33 void SpdyIOBuffer::Release() { | 33 void SpdyIOBuffer::Release() { |
34 buffer_ = NULL; | 34 buffer_ = NULL; |
35 stream_ = NULL; | 35 stream_ = NULL; |
36 } | 36 } |
37 | 37 |
38 } // namespace net | 38 } // namespace net |
OLD | NEW |