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

Unified Diff: net/spdy/zero_copy_output_buffer.h

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/write_scheduler.h ('k') | net/test/net_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/zero_copy_output_buffer.h
diff --git a/net/spdy/zero_copy_output_buffer.h b/net/spdy/zero_copy_output_buffer.h
deleted file mode 100644
index 20519624c02d56970aba63ab6c244e898dda31e9..0000000000000000000000000000000000000000
--- a/net/spdy/zero_copy_output_buffer.h
+++ /dev/null
@@ -1,30 +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.
-
-#ifndef NET_SPDY_ZERO_COPY_OUTPUT_BUFFER_H_
-#define NET_SPDY_ZERO_COPY_OUTPUT_BUFFER_H_
-
-#include <cstdint>
-
-namespace net {
-
-class ZeroCopyOutputBuffer {
- public:
- virtual ~ZeroCopyOutputBuffer() {}
-
- // Returns the next available segment of memory to write. Will always return
- // the same segment until AdvanceWritePtr is called.
- virtual void Next(char** data, int* size) = 0;
-
- // After writing to a buffer returned from Next(), the caller should call
- // this method to indicate how many bytes were written.
- virtual void AdvanceWritePtr(int64_t count) = 0;
-
- // Returns the available capacity of the buffer.
- virtual uint64_t BytesFree() const = 0;
-};
-
-} // namespace net
-
-#endif // NET_SPDY_ZERO_COPY_OUTPUT_BUFFER_H_
« no previous file with comments | « net/spdy/write_scheduler.h ('k') | net/test/net_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698