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

Side by Side Diff: net/spdy/spdy_buffer_producer.cc

Issue 13990005: [SPDY] Replace SpdyIOBuffer with new SpdyBuffer class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix missing include Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/spdy/spdy_buffer_producer.h ('k') | net/spdy/spdy_buffer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "net/spdy/spdy_buffer_producer.h"
6
7 #include "base/logging.h"
8 #include "net/spdy/spdy_buffer.h"
9 #include "net/spdy/spdy_protocol.h"
10
11 namespace net {
12
13 SpdyBufferProducer::SpdyBufferProducer() {}
14
15 SpdyBufferProducer::~SpdyBufferProducer() {}
16
17 SimpleBufferProducer::SimpleBufferProducer(scoped_ptr<SpdyBuffer> buffer)
18 : buffer_(buffer.Pass()) {}
19
20 SimpleBufferProducer::~SimpleBufferProducer() {}
21
22 scoped_ptr<SpdyBuffer> SimpleBufferProducer::ProduceBuffer() {
23 DCHECK(buffer_);
24 return buffer_.Pass();
25 }
26
27 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_buffer_producer.h ('k') | net/spdy/spdy_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698