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

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: Sync 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
« no previous file with comments | « net/http/bidirectional_stream.h ('k') | net/http/http_stream_factory_impl.cc » ('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 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/net_features.h"
13 #include "net/socket/next_proto.h" 14 #include "net/socket/next_proto.h"
14 15
15 #if !defined(ENABLE_BIDIRECTIONAL_STREAM) 16 #if !BUILDFLAG(ENABLE_BIDIRECTIONAL_STREAM)
16 #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined 17 #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined
17 #endif 18 #endif
18 19
19 namespace base { 20 namespace base {
20 class Timer; 21 class Timer;
21 } // namespace base 22 } // namespace base
22 23
23 namespace net { 24 namespace net {
24 25
25 class BoundNetLog; 26 class BoundNetLog;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // not associated with any stream, and are not included in this value. 131 // not associated with any stream, and are not included in this value.
131 virtual int64_t GetTotalSentBytes() const = 0; 132 virtual int64_t GetTotalSentBytes() const = 0;
132 133
133 private: 134 private:
134 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamJob); 135 DISALLOW_COPY_AND_ASSIGN(BidirectionalStreamJob);
135 }; 136 };
136 137
137 } // namespace net 138 } // namespace net
138 139
139 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_ 140 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_JOB_H_
OLDNEW
« no previous file with comments | « net/http/bidirectional_stream.h ('k') | net/http/http_stream_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698