diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 03:13:06 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 03:13:06 +0000 |
commit | cd314c828215d0ab4fb6ca721272f317014510c2 (patch) | |
tree | 93d58b91d9e1bb4146eca1db3e234cc14f00c17f /net/flip/flip_session.h | |
parent | dc93fc6b4a41f8f14ef4f7acef40a9e8b9ef9070 (diff) | |
download | chromium_src-cd314c828215d0ab4fb6ca721272f317014510c2.zip chromium_src-cd314c828215d0ab4fb6ca721272f317014510c2.tar.gz chromium_src-cd314c828215d0ab4fb6ca721272f317014510c2.tar.bz2 |
Rename FlipStreamImpl to FlipStream and separate it out into
its own files. This is a straight refactoring with no other
changes
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/348007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/flip/flip_session.h')
-rw-r--r-- | net/flip/flip_session.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/flip/flip_session.h b/net/flip/flip_session.h index 1030c01..22cc578 100644 --- a/net/flip/flip_session.h +++ b/net/flip/flip_session.h @@ -26,7 +26,7 @@ namespace net { -class FlipStreamImpl; +class FlipStream; class HttpNetworkSession; class HttpRequestInfo; class HttpResponseInfo; @@ -203,13 +203,13 @@ class FlipSession : public base::RefCounted<FlipSession>, int GetNewStreamId(); // Track active streams in the active stream list. - FlipStreamImpl* ActivateStream(flip::FlipStreamId id, FlipDelegate* delegate); + FlipStream* ActivateStream(flip::FlipStreamId id, FlipDelegate* delegate); void DeactivateStream(flip::FlipStreamId id); // Check if we have a pending pushed-stream for this url // Returns the stream if found (and returns it from the pending // list), returns NULL otherwise. - FlipStreamImpl* GetPushStream(std::string url); + FlipStream* GetPushStream(std::string url); // Callbacks for the Flip session. CompletionCallbackImpl<FlipSession> connect_callback_; @@ -239,8 +239,8 @@ class FlipSession : public base::RefCounted<FlipSession>, // TODO(mbelshe): We need to track these stream lists better. // I suspect it is possible to remove a stream from // one list, but not the other. - typedef std::map<int, FlipStreamImpl*> ActiveStreamMap; - typedef std::list<FlipStreamImpl*> ActiveStreamList; + typedef std::map<int, FlipStream*> ActiveStreamMap; + typedef std::list<FlipStream*> ActiveStreamList; ActiveStreamMap active_streams_; ActiveStreamList pushed_streams_; |