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 #ifndef NET_SPDY_SPDY_IO_BUFFER_H_ | 5 #ifndef NET_SPDY_SPDY_IO_BUFFER_H_ |
6 #define NET_SPDY_SPDY_IO_BUFFER_H_ | 6 #define NET_SPDY_SPDY_IO_BUFFER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "net/base/io_buffer.h" | 9 #include "net/base/io_buffer.h" |
10 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 const scoped_refptr<SpdyStream>& stream() const { return stream_; } | 47 const scoped_refptr<SpdyStream>& stream() const { return stream_; } |
48 | 48 |
49 private: | 49 private: |
50 scoped_refptr<DrainableIOBuffer> buffer_; | 50 scoped_refptr<DrainableIOBuffer> buffer_; |
51 scoped_refptr<SpdyStream> stream_; | 51 scoped_refptr<SpdyStream> stream_; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace net | 54 } // namespace net |
55 | 55 |
56 #endif // NET_SPDY_SPDY_IO_BUFFER_H_ | 56 #endif // NET_SPDY_SPDY_IO_BUFFER_H_ |
OLD | NEW |