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

Unified Diff: blimp/net/packet_writer.h

Issue 2632803002: Remove all blimp network code. (Closed)
Patch Set: merge from origin/master for good measure Created 3 years, 11 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 | « blimp/net/packet_reader.h ('k') | blimp/net/pipe_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/packet_writer.h
diff --git a/blimp/net/packet_writer.h b/blimp/net/packet_writer.h
deleted file mode 100644
index 7f9b18be043e1d77a69413ae3ae4c7033159be91..0000000000000000000000000000000000000000
--- a/blimp/net/packet_writer.h
+++ /dev/null
@@ -1,33 +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_WRITER_H_
-#define BLIMP_NET_PACKET_WRITER_H_
-
-#include <string>
-
-#include "base/macros.h"
-#include "blimp/net/blimp_net_export.h"
-#include "net/base/completion_callback.h"
-#include "net/base/io_buffer.h"
-#include "net/base/net_errors.h"
-
-namespace blimp {
-
-// Interface to describe a writer which can write variable-length data packets
-// to a connection.
-class BLIMP_NET_EXPORT PacketWriter {
- public:
- virtual ~PacketWriter() {}
-
- // Invokes |cb| with net::OK if the write operation executed successfully.
- // All other values indicate unrecoverable errors.
- // |callback| must not be invoked if |this| is deleted.
- virtual void WritePacket(const scoped_refptr<net::DrainableIOBuffer>& data,
- const net::CompletionCallback& callback) = 0;
-};
-
-} // namespace blimp
-
-#endif // BLIMP_NET_PACKET_WRITER_H_
« no previous file with comments | « blimp/net/packet_reader.h ('k') | blimp/net/pipe_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698