Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SPDY_SPDY_STREAM_H_ | 5 #ifndef NET_SPDY_SPDY_STREAM_H_ |
| 6 #define NET_SPDY_SPDY_STREAM_H_ | 6 #define NET_SPDY_SPDY_STREAM_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "net/base/bandwidth_metrics.h" | 17 #include "net/base/bandwidth_metrics.h" |
| 18 #include "net/base/io_buffer.h" | 18 #include "net/base/io_buffer.h" |
| 19 #include "net/base/net_export.h" | 19 #include "net/base/net_export.h" |
| 20 #include "net/base/net_log.h" | 20 #include "net/base/net_log.h" |
| 21 #include "net/base/request_priority.h" | 21 #include "net/base/request_priority.h" |
| 22 #include "net/socket/ssl_client_socket.h" | 22 #include "net/socket/ssl_client_socket.h" |
| 23 #include "net/spdy/spdy_buffer.h" | 23 #include "net/spdy/spdy_buffer.h" |
| 24 #include "net/spdy/spdy_framer.h" | 24 #include "net/spdy/spdy_framer.h" |
| 25 #include "net/spdy/spdy_header_block.h" | 25 #include "net/spdy/spdy_header_block.h" |
| 26 #include "net/spdy/spdy_protocol.h" | 26 #include "net/spdy/spdy_protocol.h" |
| 27 #include "net/ssl/server_bound_cert_service.h" | 27 #include "net/ssl/channel_id_service.h" |
| 28 #include "net/ssl/ssl_client_cert_type.h" | 28 #include "net/ssl/ssl_client_cert_type.h" |
| 29 #include "url/gurl.h" | 29 #include "url/gurl.h" |
| 30 | 30 |
| 31 namespace net { | 31 namespace net { |
| 32 | 32 |
| 33 class AddressList; | 33 class AddressList; |
| 34 class IPEndPoint; | 34 class IPEndPoint; |
| 35 struct LoadTimingInfo; | 35 struct LoadTimingInfo; |
| 36 class SSLCertRequestInfo; | 36 class SSLCertRequestInfo; |
| 37 class SSLInfo; | 37 class SSLInfo; |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 553 // overhead and headers. | 553 // overhead and headers. |
| 554 int64 raw_received_bytes_; | 554 int64 raw_received_bytes_; |
| 555 | 555 |
| 556 // Number of data bytes that have been sent/received on this stream, not | 556 // Number of data bytes that have been sent/received on this stream, not |
| 557 // including frame overhead. Note that this does not count headers. | 557 // including frame overhead. Note that this does not count headers. |
| 558 int send_bytes_; | 558 int send_bytes_; |
| 559 int recv_bytes_; | 559 int recv_bytes_; |
| 560 | 560 |
| 561 std::string domain_bound_private_key_; | 561 std::string domain_bound_private_key_; |
| 562 std::string domain_bound_cert_; | 562 std::string domain_bound_cert_; |
| 563 ServerBoundCertService::RequestHandle domain_bound_cert_request_handle_; | 563 ChannelIDService::RequestHandle domain_bound_cert_request_handle_; |
|
wtc
2014/07/01 19:50:53
These three members should be renamed:
channel_i
Ryan Hamilton
2014/07/21 19:12:09
Wow, interestingly, these members are unused. I've
| |
| 564 | 564 |
| 565 // Guards calls of delegate write handlers ensuring |this| is not destroyed. | 565 // Guards calls of delegate write handlers ensuring |this| is not destroyed. |
| 566 // TODO(jgraettinger): Consider removing after crbug.com/35511 is tracked | 566 // TODO(jgraettinger): Consider removing after crbug.com/35511 is tracked |
| 567 // down. | 567 // down. |
| 568 bool write_handler_guard_; | 568 bool write_handler_guard_; |
| 569 | 569 |
| 570 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; | 570 base::WeakPtrFactory<SpdyStream> weak_ptr_factory_; |
| 571 | 571 |
| 572 DISALLOW_COPY_AND_ASSIGN(SpdyStream); | 572 DISALLOW_COPY_AND_ASSIGN(SpdyStream); |
| 573 }; | 573 }; |
| 574 | 574 |
| 575 } // namespace net | 575 } // namespace net |
| 576 | 576 |
| 577 #endif // NET_SPDY_SPDY_STREAM_H_ | 577 #endif // NET_SPDY_SPDY_STREAM_H_ |
| OLD | NEW |