| 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 CONTENT_BROWSER_BYTE_STREAM_H_ | 5 #ifndef CONTENT_BROWSER_BYTE_STREAM_H_ |
| 6 #define CONTENT_BROWSER_BYTE_STREAM_H_ | 6 #define CONTENT_BROWSER_BYTE_STREAM_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include "base/callback.h" | 10 #include "base/callback.h" |
| 9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 12 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
| 13 | 15 |
| 14 namespace base { | 16 namespace base { |
| 15 class SequencedTaskRunner; | 17 class SequencedTaskRunner; |
| 16 } | 18 } |
| 17 | 19 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 CONTENT_EXPORT void CreateByteStream( | 196 CONTENT_EXPORT void CreateByteStream( |
| 195 scoped_refptr<base::SequencedTaskRunner> input_task_runner, | 197 scoped_refptr<base::SequencedTaskRunner> input_task_runner, |
| 196 scoped_refptr<base::SequencedTaskRunner> output_task_runner, | 198 scoped_refptr<base::SequencedTaskRunner> output_task_runner, |
| 197 size_t buffer_size, | 199 size_t buffer_size, |
| 198 scoped_ptr<ByteStreamWriter>* input, | 200 scoped_ptr<ByteStreamWriter>* input, |
| 199 scoped_ptr<ByteStreamReader>* output); | 201 scoped_ptr<ByteStreamReader>* output); |
| 200 | 202 |
| 201 } // namespace content | 203 } // namespace content |
| 202 | 204 |
| 203 #endif // CONTENT_BROWSER_BYTE_STREAM_H_ | 205 #endif // CONTENT_BROWSER_BYTE_STREAM_H_ |
| OLD | NEW |