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

Side by Side Diff: net/quic/quartc/quartc_connection_helper.h

Issue 2324833004: Define Stable API for WebRTC/Quartc (Closed)
Patch Set: Add virtual destructors required by WebRTC compiler. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_QUIC_QUARTC_QUARTC_CONNECTION_HELPER_H_
6 #define NET_QUIC_QUARTC_QUARTC_CONNECTION_HELPER_H_
7
8 #include "net/quic/core/crypto/quic_random.h"
9 #include "net/quic/core/quic_clock.h"
10 #include "net/quic/core/quic_connection.h"
11 #include "net/quic/core/quic_simple_buffer_allocator.h"
12
13 namespace net {
14
15 // This is the helper class used to create QuicConnections.
pthatcher2 2016/10/05 22:12:05 This comment could be a little more descriptive.
zhihuang1 2016/10/13 06:22:39 Merged the QuartcConnectionHelper with QuartcFacto
16 class NET_EXPORT_PRIVATE QuartcConnectionHelper
17 : public QuicConnectionHelperInterface {
18 public:
19 ~QuartcConnectionHelper() override;
20
21 // QuicConnectionHelperInterface overrides.
22 const QuicClock* GetClock() const override;
23
24 QuicRandom* GetRandomGenerator() override;
25
26 QuicBufferAllocator* GetBufferAllocator() override;
27
28 private:
29 QuicClock clock_;
30 SimpleBufferAllocator buffer_allocator_;
31 };
32
33 } // namepace net
34
35 #endif // NET_QUIC_QUARTC_QUARTC_CONNECTION_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698