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

Side by Side Diff: net/quic/chromium/quic_chromium_client_stream.h

Issue 2341033002: Revert of Implement QuicHttpStream::GetLoadTimingInfo (Closed)
Patch Set: Created 4 years, 3 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 (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
114 bool CanWrite(const CompletionCallback& callback); 114 bool CanWrite(const CompletionCallback& callback);
115 115
116 const BoundNetLog& net_log() const { return net_log_; } 116 const BoundNetLog& net_log() const { return net_log_; }
117 117
118 // Prevents this stream from migrating to a new network. May cause other 118 // Prevents this stream from migrating to a new network. May cause other
119 // concurrent streams within the session to also not migrate. 119 // concurrent streams within the session to also not migrate.
120 void DisableConnectionMigration(); 120 void DisableConnectionMigration();
121 121
122 bool can_migrate() { return can_migrate_; } 122 bool can_migrate() { return can_migrate_; }
123 123
124 // True if this stream is the first data stream created on this session.
125 bool IsFirstStream();
126
127 using QuicSpdyStream::HasBufferedData; 124 using QuicSpdyStream::HasBufferedData;
128 125
129 private: 126 private:
130 void NotifyDelegateOfHeadersCompleteLater(SpdyHeaderBlock headers, 127 void NotifyDelegateOfHeadersCompleteLater(SpdyHeaderBlock headers,
131 size_t frame_len); 128 size_t frame_len);
132 void NotifyDelegateOfHeadersComplete(SpdyHeaderBlock headers, 129 void NotifyDelegateOfHeadersComplete(SpdyHeaderBlock headers,
133 size_t frame_len); 130 size_t frame_len);
134 void NotifyDelegateOfDataAvailableLater(); 131 void NotifyDelegateOfDataAvailableLater();
135 void NotifyDelegateOfDataAvailable(); 132 void NotifyDelegateOfDataAvailable();
136 void RunOrBuffer(base::Closure closure); 133 void RunOrBuffer(base::Closure closure);
(...skipping 14 matching lines...) Expand all
151 std::deque<base::Closure> delegate_tasks_; 148 std::deque<base::Closure> delegate_tasks_;
152 149
153 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; 150 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_;
154 151
155 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); 152 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream);
156 }; 153 };
157 154
158 } // namespace net 155 } // namespace net
159 156
160 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_ 157 #endif // NET_QUIC_QUIC_CHROMIUM_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session_test.cc ('k') | net/quic/chromium/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698