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

Unified Diff: net/spdy/spdy_buffer_producer.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_buffer_producer.h ('k') | net/spdy/spdy_buffer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_buffer_producer.cc
diff --git a/net/spdy/spdy_buffer_producer.cc b/net/spdy/spdy_buffer_producer.cc
deleted file mode 100644
index 039638ceb3a904b9e2b766e381ec797d649e0c3c..0000000000000000000000000000000000000000
--- a/net/spdy/spdy_buffer_producer.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "net/spdy/spdy_buffer_producer.h"
-
-#include <utility>
-
-#include "base/logging.h"
-#include "net/spdy/platform/api/spdy_estimate_memory_usage.h"
-#include "net/spdy/spdy_buffer.h"
-#include "net/spdy/spdy_protocol.h"
-
-namespace net {
-
-SpdyBufferProducer::SpdyBufferProducer() {}
-
-SpdyBufferProducer::~SpdyBufferProducer() {}
-
-SimpleBufferProducer::SimpleBufferProducer(std::unique_ptr<SpdyBuffer> buffer)
- : buffer_(std::move(buffer)) {}
-
-SimpleBufferProducer::~SimpleBufferProducer() {}
-
-std::unique_ptr<SpdyBuffer> SimpleBufferProducer::ProduceBuffer() {
- DCHECK(buffer_);
- return std::move(buffer_);
-}
-
-size_t SimpleBufferProducer::EstimateMemoryUsage() const {
- return SpdyEstimateMemoryUsage(buffer_);
-}
-
-} // namespace net
« 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