Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: content/browser/byte_stream.h

Issue 12440036: Move ByteStream to content/browser (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/byte_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_DOWNLOAD_BYTE_STREAM_H_ 5 #ifndef CONTENT_BROWSER_BYTE_STREAM_H_
6 #define CONTENT_BROWSER_DOWNLOAD_BYTE_STREAM_H_ 6 #define CONTENT_BROWSER_BYTE_STREAM_H_
7 7
8 #include <deque>
8 #include <set> 9 #include <set>
9 #include <utility> 10 #include <utility>
10 #include <deque>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
15 #include "content/public/browser/download_interrupt_reasons.h" 15 #include "content/public/browser/download_interrupt_reasons.h"
16 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
17 17
18 namespace base { 18 namespace base {
19 class SequencedTaskRunner; 19 class SequencedTaskRunner;
20 } 20 }
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 189
190 CONTENT_EXPORT void CreateByteStream( 190 CONTENT_EXPORT void CreateByteStream(
191 scoped_refptr<base::SequencedTaskRunner> input_task_runner, 191 scoped_refptr<base::SequencedTaskRunner> input_task_runner,
192 scoped_refptr<base::SequencedTaskRunner> output_task_runner, 192 scoped_refptr<base::SequencedTaskRunner> output_task_runner,
193 size_t buffer_size, 193 size_t buffer_size,
194 scoped_ptr<ByteStreamWriter>* input, 194 scoped_ptr<ByteStreamWriter>* input,
195 scoped_ptr<ByteStreamReader>* output); 195 scoped_ptr<ByteStreamReader>* output);
196 196
197 } // namespace content 197 } // namespace content
198 198
199 #endif // CONTENT_BROWSER_DOWNLOAD_BYTE_STREAM_H_ 199 #endif // CONTENT_BROWSER_BYTE_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/byte_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698