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

Side by Side Diff: trunk/src/net/spdy/spdy_frame_producer.cc

Issue 13996009: Revert 194560 "[SPDY] Replace SpdyIOBuffer with new SpdyBuffer c..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/net/spdy/spdy_frame_producer.h ('k') | trunk/src/net/spdy/spdy_http_stream.h » ('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) 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 #include "net/spdy/spdy_frame_producer.h" 5 #include "net/spdy/spdy_frame_producer.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/spdy/spdy_protocol.h" 8 #include "net/spdy/spdy_protocol.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 SpdyFrameProducer::SpdyFrameProducer() {} 12 SpdyFrameProducer::SpdyFrameProducer() {}
13 13
14 SpdyFrameProducer::~SpdyFrameProducer() {} 14 SpdyFrameProducer::~SpdyFrameProducer() {}
15 15
16 SimpleFrameProducer::SimpleFrameProducer(scoped_ptr<SpdyFrame> frame) 16 SimpleFrameProducer::SimpleFrameProducer(scoped_ptr<SpdyFrame> frame)
17 : frame_(frame.Pass()) {} 17 : frame_(frame.Pass()) {}
18 18
19 SimpleFrameProducer::~SimpleFrameProducer() {} 19 SimpleFrameProducer::~SimpleFrameProducer() {}
20 20
21 scoped_ptr<SpdyFrame> SimpleFrameProducer::ProduceFrame() { 21 scoped_ptr<SpdyFrame> SimpleFrameProducer::ProduceFrame() {
22 DCHECK(frame_); 22 DCHECK(frame_);
23 return frame_.Pass(); 23 return frame_.Pass();
24 } 24 }
25 25
26 } // namespace net 26 } // namespace net
OLDNEW
« no previous file with comments | « trunk/src/net/spdy/spdy_frame_producer.h ('k') | trunk/src/net/spdy/spdy_http_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698