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

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

Issue 2102253003: Make SpdyHeaderBlock non-copyable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: iOS fix. Created 4 years, 5 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 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
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_
OLDNEW
« no previous file with comments | « net/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698