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

Unified Diff: net/tools/quic/quic_epoll_connection_helper.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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/tools/quic/quic_epoll_clock_test.cc ('k') | net/tools/quic/quic_epoll_connection_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_epoll_connection_helper.h
diff --git a/net/tools/quic/quic_epoll_connection_helper.h b/net/tools/quic/quic_epoll_connection_helper.h
deleted file mode 100644
index 66a27bb5e96e40c55bd6f5809407ba1fe7fc9e70..0000000000000000000000000000000000000000
--- a/net/tools/quic/quic_epoll_connection_helper.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright (c) 2012 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.
-//
-// The Google-specific helper for QuicConnection which uses
-// EpollAlarm for alarms, and used an int fd_ for writing data.
-
-#ifndef NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_
-#define NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_
-
-#include <sys/types.h>
-#include <set>
-
-#include "net/quic/quic_connection.h"
-#include "net/quic/quic_packet_writer.h"
-#include "net/quic/quic_protocol.h"
-#include "net/quic/quic_time.h"
-#include "net/tools/quic/quic_default_packet_writer.h"
-#include "net/tools/quic/quic_epoll_clock.h"
-
-namespace net {
-
-class EpollServer;
-class QuicRandom;
-
-namespace tools {
-
-class AckAlarm;
-class RetransmissionAlarm;
-class SendAlarm;
-class TimeoutAlarm;
-
-class QuicEpollConnectionHelper : public QuicConnectionHelperInterface {
- public:
- explicit QuicEpollConnectionHelper(EpollServer* eps);
- ~QuicEpollConnectionHelper() override;
-
- // QuicEpollConnectionHelperInterface
- const QuicClock* GetClock() const override;
- QuicRandom* GetRandomGenerator() override;
- QuicAlarm* CreateAlarm(QuicAlarm::Delegate* delegate) override;
-
- EpollServer* epoll_server() { return epoll_server_; }
-
- private:
- friend class QuicConnectionPeer;
-
- EpollServer* epoll_server_; // Not owned.
-
- const QuicEpollClock clock_;
- QuicRandom* random_generator_;
-
- DISALLOW_COPY_AND_ASSIGN(QuicEpollConnectionHelper);
-};
-
-} // namespace tools
-} // namespace net
-
-#endif // NET_TOOLS_QUIC_QUIC_EPOLL_CONNECTION_HELPER_H_
« no previous file with comments | « net/tools/quic/quic_epoll_clock_test.cc ('k') | net/tools/quic/quic_epoll_connection_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698