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

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

Issue 2324833004: Define Stable API for WebRTC/Quartc (Closed)
Patch Set: Patch Set 4 : Create QuartcFactory. Made modification on the API. Change the constructor of QuartcS… 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 for Quartc (QUIC in WebRTC) to create a
16 // QuicConnection.
17 class NET_EXPORT_PRIVATE QuartcConnectionHelper
18 : public QuicConnectionHelperInterface {
19 public:
20 ~QuartcConnectionHelper() override;
21 // QuicConnectionHelperInterface overrides.
22 const QuicClock* GetClock() const override;
23 QuicRandom* GetRandomGenerator() override;
24 QuicBufferAllocator* GetBufferAllocator() override;
25
26 private:
27 QuicClock clock_;
28 SimpleBufferAllocator buffer_allocator_;
29 };
30
31 } // namepace net
32
33 #endif // NET_QUIC_QUARTC_QUARTC_CONNECTION_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698