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

Side by Side Diff: net/http/bidirectional_stream_job.h

Issue 1550843002: Convert enable_bidirectional_stream into build flag local to net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove #include net_features.h from public headers. 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_HTTP_BIDIRECTIONAL_STREAM_JOB_H_ 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_
6 #define NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_ 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/base/net_export.h" 12 #include "net/base/net_export.h"
13 #include "net/socket/next_proto.h" 13 #include "net/socket/next_proto.h"
14 14
15 #if !defined(ENABLE_BIDIRECTIONAL_STREAM)
16 #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined
17 #endif
18
19 namespace base { 15 namespace base {
20 class Timer; 16 class Timer;
21 } // namespace base 17 } // namespace base
22 18
23 namespace net { 19 namespace net {
24 20
25 class BoundNetLog; 21 class BoundNetLog;
26 class IOBuffer; 22 class IOBuffer;
27 class SpdyHeaderBlock; 23 class SpdyHeaderBlock;
28 struct BidirectionalStreamRequestInfo; 24 struct BidirectionalStreamRequestInfo;
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // not associated with any stream, and are not included in this value. 126 // not associated with any stream, and are not included in this value.
131 virtual int64_t GetTotalSentBytes() const = 0; 127 virtual int64_t GetTotalSentBytes() const = 0;
132 128
133 private: 129 private:
134 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamJob); 130 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamJob);
135 }; 131 };
136 132
137 } // namespace net 133 } // namespace net
138 134
139 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_ 135 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698