OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CONTENT_BROWSER_STREAMS_STREAM_H_ | 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_H_ |
6 #define CONTENT_BROWSER_STREAMS_STREAM_H_ | 6 #define CONTENT_BROWSER_STREAMS_STREAM_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
| 10 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "content/browser/byte_stream.h" | 13 #include "content/browser/byte_stream.h" |
12 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
13 #include "url/gurl.h" | 15 #include "url/gurl.h" |
14 | 16 |
15 namespace net { | 17 namespace net { |
16 class IOBuffer; | 18 class IOBuffer; |
17 } | 19 } |
18 | 20 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 132 |
131 StreamHandleImpl* stream_handle_; | 133 StreamHandleImpl* stream_handle_; |
132 | 134 |
133 base::WeakPtrFactory<Stream> weak_ptr_factory_; | 135 base::WeakPtrFactory<Stream> weak_ptr_factory_; |
134 DISALLOW_COPY_AND_ASSIGN(Stream); | 136 DISALLOW_COPY_AND_ASSIGN(Stream); |
135 }; | 137 }; |
136 | 138 |
137 } // namespace content | 139 } // namespace content |
138 | 140 |
139 #endif // CONTENT_BROWSER_STREAMS_STREAM_H_ | 141 #endif // CONTENT_BROWSER_STREAMS_STREAM_H_ |
OLD | NEW |