diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:39:05 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:39:05 +0000 |
commit | 27161fb71d092296d5c779d708095ee7bbef981c (patch) | |
tree | 0da7dbee4a3a519459becf43d7ff2732136470e6 /net/http/http_network_transaction.h | |
parent | eef576fd62fc6be5a23e276353f8cbae217d87ff (diff) | |
download | chromium_src-27161fb71d092296d5c779d708095ee7bbef981c.zip chromium_src-27161fb71d092296d5c779d708095ee7bbef981c.tar.gz chromium_src-27161fb71d092296d5c779d708095ee7bbef981c.tar.bz2 |
More instrumentation.
Review URL: http://codereview.chromium.org/9064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_transaction.h')
-rw-r--r-- | net/http/http_network_transaction.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h index 147c0fc..1ba2a89 100644 --- a/net/http/http_network_transaction.h +++ b/net/http/http_network_transaction.h @@ -77,19 +77,11 @@ class HttpNetworkTransaction : public HttpTransaction { int DoReadBody(); int DoReadBodyComplete(int result); - // TODO(eroman): temp instrumentation to track down a bug. - struct Bug3772 { - unsigned char true_count; - unsigned char false_count; - int connect_result; - bool reused_socket; - Bug3772() : true_count(0), false_count(0), connect_result(0), - reused_socket(false) { } - }; - Bug3772 bug_3772_; + // TODO(eroman): Temporary for 3772 bug investigation. + void CrashFor3772(); // Called when header_buf_ contains the complete response headers. - int DidReadResponseHeaders(Bug3772* /*temp hack*/); + int DidReadResponseHeaders(); // Called to handle a certificate error. Returns OK if the error should be // ignored. Otherwise, stores the certificate in response_.ssl_info and |