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 "base/basictypes.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "content/browser/download/byte_stream.h" | 11 #include "content/browser/byte_stream.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class IOBuffer; | 16 class IOBuffer; |
17 } | 17 } |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 | 20 |
21 class StreamHandle; | 21 class StreamHandle; |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 StreamHandleImpl* stream_handle_; | 104 StreamHandleImpl* stream_handle_; |
105 | 105 |
106 base::WeakPtrFactory<Stream> weak_ptr_factory_; | 106 base::WeakPtrFactory<Stream> weak_ptr_factory_; |
107 DISALLOW_COPY_AND_ASSIGN(Stream); | 107 DISALLOW_COPY_AND_ASSIGN(Stream); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace content | 110 } // namespace content |
111 | 111 |
112 #endif // CONTENT_BROWSER_STREAMS_STREAM_H_ | 112 #endif // CONTENT_BROWSER_STREAMS_STREAM_H_ |
OLD | NEW |