diff options
author | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 20:32:25 +0000 |
---|---|---|
committer | wtc@google.com <wtc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 20:32:25 +0000 |
commit | 6b9833ea6a8bec0b8618aac2a617b5c89cc361c8 (patch) | |
tree | 5de32642ce440f479887381a1af2f2a69f6d129d /skia/xml/SkJSDisplayable.cpp | |
parent | 0a7930697932e2a79d52840211d969cdcac75919 (diff) | |
download | chromium_src-6b9833ea6a8bec0b8618aac2a617b5c89cc361c8.zip chromium_src-6b9833ea6a8bec0b8618aac2a617b5c89cc361c8.tar.gz chromium_src-6b9833ea6a8bec0b8618aac2a617b5c89cc361c8.tar.bz2 |
Refactor the SSL tunnel establishment code so that it
reuses the four states of writing the request headers
and reading the response headers.
Add a boolean member is_connect_method_ to tell, while
we're in one of those four states, whether we're doing
the HTTP CONNECT method (to set up a tunnel) or the
real transaction.
The motivation of this refactoring is that I need to
read the response body when the CONNECT request fails,
which makes me realize I'd need to duplicate more code
with the original design.
R=darin
BUG=b/1272555
Review URL: http://codereview.chromium.org/1875
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2011 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/xml/SkJSDisplayable.cpp')
0 files changed, 0 insertions, 0 deletions