diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 19:42:42 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-30 19:42:42 +0000 |
commit | e1245358ad4226525d7c1e0da06356ebe5715aa7 (patch) | |
tree | 857fa3edbec3f27aba98876bfde5678dc6223218 /net/flip | |
parent | 75862df735995fa131a66eb3484f59251dd25f35 (diff) | |
download | chromium_src-e1245358ad4226525d7c1e0da06356ebe5715aa7.zip chromium_src-e1245358ad4226525d7c1e0da06356ebe5715aa7.tar.gz chromium_src-e1245358ad4226525d7c1e0da06356ebe5715aa7.tar.bz2 |
Small header cleanup.
Accidentally already checked in the flip_session.cc reordering
of member variables in the constructor. So checking this in now.
BUG=none
TEST=none
TBR=wtc@chromium.org
Review URL: http://codereview.chromium.org/449017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33313 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/flip')
-rw-r--r-- | net/flip/flip_session.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/flip/flip_session.h b/net/flip/flip_session.h index 3ebd6d2..7555b85 100644 --- a/net/flip/flip_session.h +++ b/net/flip/flip_session.h @@ -182,11 +182,12 @@ class FlipSession : public base::RefCounted<FlipSession>, // As we gather data to be sent, we put it into the output queue. OutputQueue queue_; - // TODO(mbelshe): this is ugly!! // The packet we are currently sending. - FlipIOBuffer in_flight_write_; + bool write_pending_; // Will be true when a write is in progress. + FlipIOBuffer in_flight_write_; // This is the write buffer in progress. + + // Flag if we have a pending message scheduled for WriteSocket. bool delayed_write_pending_; - bool write_pending_; // Flip Frame state. flip::FlipFramer flip_framer_; |