| 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 // NOTE: This code is not shared between Google and Chrome. | 5 // NOTE: This code is not shared between Google and Chrome. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 7 #ifndef NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
| 8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 8 #define NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
| 9 | 9 |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 // Prevents this stream from migrating to a new network. May cause other | 115 // Prevents this stream from migrating to a new network. May cause other |
| 116 // concurrent streams within the session to also not migrate. | 116 // concurrent streams within the session to also not migrate. |
| 117 void DisableConnectionMigration(); | 117 void DisableConnectionMigration(); |
| 118 | 118 |
| 119 bool can_migrate() { return can_migrate_; } | 119 bool can_migrate() { return can_migrate_; } |
| 120 | 120 |
| 121 using QuicSpdyStream::HasBufferedData; | 121 using QuicSpdyStream::HasBufferedData; |
| 122 | 122 |
| 123 private: | 123 private: |
| 124 void NotifyDelegateOfHeadersCompleteLater(const SpdyHeaderBlock& headers, | 124 void NotifyDelegateOfHeadersCompleteLater(SpdyHeaderBlock headers, |
| 125 size_t frame_len); | 125 size_t frame_len); |
| 126 void NotifyDelegateOfHeadersComplete(SpdyHeaderBlock headers, | 126 void NotifyDelegateOfHeadersComplete(SpdyHeaderBlock headers, |
| 127 size_t frame_len); | 127 size_t frame_len); |
| 128 void NotifyDelegateOfDataAvailableLater(); | 128 void NotifyDelegateOfDataAvailableLater(); |
| 129 void NotifyDelegateOfDataAvailable(); | 129 void NotifyDelegateOfDataAvailable(); |
| 130 void RunOrBuffer(base::Closure closure); | 130 void RunOrBuffer(base::Closure closure); |
| 131 | 131 |
| 132 BoundNetLog net_log_; | 132 BoundNetLog net_log_; |
| 133 Delegate* delegate_; | 133 Delegate* delegate_; |
| 134 | 134 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 145 std::deque<base::Closure> delegate_tasks_; | 145 std::deque<base::Closure> delegate_tasks_; |
| 146 | 146 |
| 147 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; | 147 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; |
| 148 | 148 |
| 149 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); | 149 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } // namespace net | 152 } // namespace net |
| 153 | 153 |
| 154 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ | 154 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ |
| OLD | NEW |