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

Unified Diff: net/quic/quic_connection_helper.h

Issue 1581283002: Rename chromium-specific QUIC classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing Created 4 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 | « net/quic/quic_chromium_connection_helper_test.cc ('k') | net/quic/quic_connection_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection_helper.h
diff --git a/net/quic/quic_connection_helper.h b/net/quic/quic_connection_helper.h
deleted file mode 100644
index 83961aa81cdde255c28f9c9d0736305b888db2f2..0000000000000000000000000000000000000000
--- a/net/quic/quic_connection_helper.h
+++ /dev/null
@@ -1,58 +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 Chrome-specific helper for QuicConnection which uses
-// a TaskRunner for alarms, and uses a DatagramClientSocket for writing data.
-
-#ifndef NET_QUIC_QUIC_CONNECTION_HELPER_H_
-#define NET_QUIC_QUIC_CONNECTION_HELPER_H_
-
-#include "net/quic/quic_connection.h"
-
-#include <set>
-
-#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "net/base/ip_endpoint.h"
-#include "net/quic/quic_protocol.h"
-#include "net/quic/quic_simple_buffer_allocator.h"
-#include "net/quic/quic_time.h"
-#include "net/udp/datagram_client_socket.h"
-
-namespace base {
-class TaskRunner;
-} // namespace base
-
-namespace net {
-
-class QuicClock;
-class QuicRandom;
-
-class NET_EXPORT_PRIVATE QuicConnectionHelper
- : public QuicConnectionHelperInterface {
- public:
- QuicConnectionHelper(base::TaskRunner* task_runner,
- const QuicClock* clock,
- QuicRandom* random_generator);
- ~QuicConnectionHelper() override;
-
- // QuicConnectionHelperInterface
- const QuicClock* GetClock() const override;
- QuicRandom* GetRandomGenerator() override;
- QuicAlarm* CreateAlarm(QuicAlarm::Delegate* delegate) override;
- QuicBufferAllocator* GetBufferAllocator() override;
-
- private:
- base::TaskRunner* task_runner_;
- const QuicClock* clock_;
- QuicRandom* random_generator_;
- SimpleBufferAllocator buffer_allocator_;
- base::WeakPtrFactory<QuicConnectionHelper> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(QuicConnectionHelper);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_QUIC_CONNECTION_HELPER_H_
« no previous file with comments | « net/quic/quic_chromium_connection_helper_test.cc ('k') | net/quic/quic_connection_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698