Index: blimp/net/packet_reader.h |
diff --git a/blimp/net/packet_reader.h b/blimp/net/packet_reader.h |
deleted file mode 100644 |
index 543351ac2204004111d52f7734b137f604f94784..0000000000000000000000000000000000000000 |
--- a/blimp/net/packet_reader.h |
+++ /dev/null |
@@ -1,32 +0,0 @@ |
-// Copyright 2015 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 BLIMP_NET_PACKET_READER_H_ |
-#define BLIMP_NET_PACKET_READER_H_ |
- |
-#include "blimp/net/blimp_net_export.h" |
-#include "net/base/completion_callback.h" |
-#include "net/base/io_buffer.h" |
- |
-namespace blimp { |
- |
-// Interface to describe a reader which can read variable-length data packets |
-// from a connection. |
-class BLIMP_NET_EXPORT PacketReader { |
- public: |
- virtual ~PacketReader() {} |
- |
- // Reads a packet from the connection. |
- // Passes the packet size to |cb| if the read operation executed |
- // successfully. |
- // Passes the error code to |cb| if an error occurred. |
- // All other values indicate errors. |
- // |callback| will not be invoked if |this| is deleted. |
- virtual void ReadPacket(const scoped_refptr<net::GrowableIOBuffer>& buf, |
- const net::CompletionCallback& cb) = 0; |
-}; |
- |
-} // namespace blimp |
- |
-#endif // BLIMP_NET_PACKET_READER_H_ |