diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-22 00:43:00 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-22 00:43:00 +0000 |
commit | a677f2b546d2034b459d40e6d0f24977e9b9ade3 (patch) | |
tree | 899e1150d0518fe318309301b215bc4ccc7690df /net/net.gyp | |
parent | 967dd54183a539e2c178fed766c48a61f407f8ff (diff) | |
download | chromium_src-a677f2b546d2034b459d40e6d0f24977e9b9ade3.zip chromium_src-a677f2b546d2034b459d40e6d0f24977e9b9ade3.tar.gz chromium_src-a677f2b546d2034b459d40e6d0f24977e9b9ade3.tar.bz2 |
Flip: Merge FlipStreamParser and FlipStream. Eliminate FlipDelegate.
FlipStream now conceptually contains everything associated with a single Flip stream.
This primarily consists of 2 things:
(1) FlipStream as a consumer of network events from FlipSession
(2) FlipStream as a network provider to consumers (such as FlipNetworkTransaction).
Conceptually, FlipStream also should be agnostic of wire level protocol framing details, only dealing with HTTP style headers and responses. Anything wire level has been moved out of FlipStream into FlipSession.
FlipStream is now reference counted since it is referenced by both the FlipSession and the consumer (only FlipNetworkTransaction currently). FlipNetworkTransaction can be cancelled prior to all network events finishing up, therefore the code needs to handle this gracefully. FlipStream supports a Cancel() function for this reason.
FlipStream now communicates with consumers via CompletionCallbacks rather than using FlipDelegates.
Review URL: http://codereview.chromium.org/410006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 3b1cfd9..4a302f98 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -619,6 +619,7 @@ 'flip/flip_framer_test.cc', 'flip/flip_network_transaction_unittest.cc', 'flip/flip_session_unittest.cc', + 'flip/flip_stream_unittest.cc', 'http/http_auth_cache_unittest.cc', 'http/http_auth_handler_basic_unittest.cc', 'http/http_auth_handler_digest_unittest.cc', |