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

Unified Diff: net/spdy/array_output_buffer.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/array_output_buffer.h ('k') | net/spdy/array_output_buffer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/array_output_buffer.cc
diff --git a/net/spdy/array_output_buffer.cc b/net/spdy/array_output_buffer.cc
deleted file mode 100644
index 2ce82fcc140d04d40e702677285dca9fbf667895..0000000000000000000000000000000000000000
--- a/net/spdy/array_output_buffer.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright 2017 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/array_output_buffer.h"
-
-namespace net {
-
-void ArrayOutputBuffer::Next(char** data, int* size) {
- *data = current_;
- *size = capacity_ > 0 ? capacity_ : 0;
-}
-
-void ArrayOutputBuffer::AdvanceWritePtr(int64_t count) {
- current_ += count;
- capacity_ -= count;
-}
-
-uint64_t ArrayOutputBuffer::BytesFree() const {
- return capacity_;
-}
-
-} // namespace net
« no previous file with comments | « net/spdy/array_output_buffer.h ('k') | net/spdy/array_output_buffer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698