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

Unified Diff: net/tools/quic/quic_dispatcher.h

Issue 359653003: Simplify the QuicDispatcher::OnCanWrite logic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: net/tools/quic/quic_dispatcher.h
diff --git a/net/tools/quic/quic_dispatcher.h b/net/tools/quic/quic_dispatcher.h
index 9553583f7320d60acad25b1127c08c9ee11b0ac9..534cad96a286184dd5b9e1b4191d81016132f48a 100644
--- a/net/tools/quic/quic_dispatcher.h
+++ b/net/tools/quic/quic_dispatcher.h
@@ -97,7 +97,7 @@ class QuicDispatcher : public QuicServerSessionVisitor,
QuicErrorCode error) OVERRIDE;
// Queues the blocked writer for later resumption.
- virtual void OnWriteBlocked(QuicBlockedWriterInterface* writer) OVERRIDE;
+ virtual void OnWriteBlocked(QuicBlockedWriterInterface* blocked) OVERRIDE;
wtc 2014/06/27 17:08:01 Nit: This virtual method comes from the QuicServer
dmziegler 2014/06/27 17:26:42 I called it |blocked| in order to disambiguate it
ramant (doing other things) 2014/06/27 19:18:39 Changed it blocked_writer everywhere after talking
ramant (doing other things) 2014/06/27 19:18:39 Acknowledged.
typedef base::hash_map<QuicConnectionId, QuicSession*> SessionMap;
@@ -106,8 +106,6 @@ class QuicDispatcher : public QuicServerSessionVisitor,
const SessionMap& session_map() const { return session_map_; }
- WriteBlockedList* write_blocked_list() { return &write_blocked_list_; }
-
protected:
// Instantiates a new low-level packet writer. Caller takes ownership of the
// returned object.

Powered by Google App Engine
This is Rietveld 408576698