Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_H_ | 5 #ifndef NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
| 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_ | 6 #define NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "net/http/bidirectional_stream_job.h" | 13 #include "net/http/bidirectional_stream_job.h" |
| 14 #include "net/http/http_stream_factory.h" | 14 #include "net/http/http_stream_factory.h" |
| 15 #include "net/log/net_log.h" | 15 #include "net/log/net_log.h" |
| 16 #include "net/net_features.h" | |
|
mef
2015/12/29 18:58:28
This is causing compilation error when this header
Nico
2015/12/30 22:36:21
Which?
mef
2015/12/30 23:20:45
Pending CL that uses bidirectional_stream in Crone
| |
| 16 | 17 |
| 17 #if !defined(ENABLE_BIDIRECTIONAL_STREAM) | 18 #if !BUILDFLAG(ENABLE_BIDIRECTIONAL_STREAM) |
| 18 #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined | 19 #error Only include this if ENABLE_BIDIRECTIONAL_STREAM is defined |
| 19 #endif | 20 #endif |
| 20 | 21 |
| 21 class GURL; | 22 class GURL; |
| 22 | 23 |
| 23 namespace net { | 24 namespace net { |
| 24 | 25 |
| 25 class HttpAuthController; | 26 class HttpAuthController; |
| 26 class HttpNetworkSession; | 27 class HttpNetworkSession; |
| 27 class HttpStream; | 28 class HttpStream; |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 202 // The underlying BidirectioanlStreamJob used for this stream. It is non-NULL, | 203 // The underlying BidirectioanlStreamJob used for this stream. It is non-NULL, |
| 203 // if the |stream_request_| successfully finishes. | 204 // if the |stream_request_| successfully finishes. |
| 204 scoped_ptr<BidirectionalStreamJob> stream_job_; | 205 scoped_ptr<BidirectionalStreamJob> stream_job_; |
| 205 | 206 |
| 206 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream); | 207 DISALLOW_COPY_AND_ASSIGN(BidirectionalStream); |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 } // namespace net | 210 } // namespace net |
| 210 | 211 |
| 211 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_ | 212 #endif // NET_HTTP_BIDIRECTIONAL_STREAM_H_ |
| OLD | NEW |