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

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

Issue 2324833004: Define Stable API for WebRTC/Quartc (Closed)
Patch Set: Create Quartc API Created 4 years, 3 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) 2012 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_alarm.h"
10 #include "net/quic/core/quic_alarm_factory.h"
skvlad-chromium 2016/09/22 01:54:25 Are these two includes necessary?
zhihuang1 2016/09/22 18:53:52 No, these should be removed.
11 #include "net/quic/core/quic_clock.h"
12 #include "net/quic/core/quic_connection.h"
13 #include "net/quic/core/quic_simple_buffer_allocator.h"
14
15 namespace net {
16
17 // This is the helper class for Quartc to create a QuicConnection.
skvlad-chromium 2016/09/22 01:54:25 The name 'Quartc' may not tell much to someone who
18 class NET_EXPORT_PRIVATE QuartcConnectionHelper
19 : public QuicConnectionHelperInterface {
20 public:
21 ~QuartcConnectionHelper() override;
22 // QuicConnectionHelperInterface overrides.
23 const QuicClock* GetClock() const override;
24 QuicRandom* GetRandomGenerator() override;
25 QuicBufferAllocator* GetBufferAllocator() override;
26
27 private:
28 QuicClock clock_;
29 SimpleBufferAllocator buffer_allocator_;
30 };
31
32 } // namepace net
33
34 #endif // NET_QUIC_QUARTC_QUARTC_CONNECTION_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698