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

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

Issue 2561893002: Add QUIC_EXPORT macros (Closed)
Patch Set: More Created 4 years 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
« no previous file with comments | « net/quic/quartc/quartc_session_interface.h ('k') | net/quic/quartc/quartc_stream_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUARTC_QUARTC_STREAM_H_ 5 #ifndef NET_QUIC_QUARTC_QUARTC_STREAM_H_
6 #define NET_QUIC_QUARTC_QUARTC_STREAM_H_ 6 #define NET_QUIC_QUARTC_QUARTC_STREAM_H_
7 7
8 #include "net/quic/core/quic_session.h" 8 #include "net/quic/core/quic_session.h"
9 #include "net/quic/core/quic_stream.h" 9 #include "net/quic/core/quic_stream.h"
10 #include "net/quic/platform/api/quic_export.h"
10 #include "net/quic/quartc/quartc_stream_interface.h" 11 #include "net/quic/quartc/quartc_stream_interface.h"
11 12
12 namespace net { 13 namespace net {
13 14
14 // Implements a QuartcStreamInterface using a QuicStream. 15 // Implements a QuartcStreamInterface using a QuicStream.
15 class NET_EXPORT_PRIVATE QuartcStream : public QuicStream, 16 class QUIC_EXPORT_PRIVATE QuartcStream : public QuicStream,
16 public QuartcStreamInterface { 17 public QuartcStreamInterface {
17 public: 18 public:
18 QuartcStream(QuicStreamId id, QuicSession* session); 19 QuartcStream(QuicStreamId id, QuicSession* session);
19 20
20 ~QuartcStream() override; 21 ~QuartcStream() override;
21 22
22 // QuicStream overrides. 23 // QuicStream overrides.
23 void OnDataAvailable() override; 24 void OnDataAvailable() override;
24 25
25 void OnClose() override; 26 void OnClose() override;
26 27
(...skipping 14 matching lines...) Expand all
41 42
42 void SetDelegate(QuartcStreamInterface::Delegate* delegate) override; 43 void SetDelegate(QuartcStreamInterface::Delegate* delegate) override;
43 44
44 private: 45 private:
45 QuartcStreamInterface::Delegate* delegate_ = nullptr; 46 QuartcStreamInterface::Delegate* delegate_ = nullptr;
46 }; 47 };
47 48
48 } // namespace net 49 } // namespace net
49 50
50 #endif // NET_QUIC_QUARTC_QUARTC_STREAM_H_ 51 #endif // NET_QUIC_QUARTC_QUARTC_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quartc/quartc_session_interface.h ('k') | net/quic/quartc/quartc_stream_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698