diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 00:25:12 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-12 00:25:12 +0000 |
commit | ec08bb23238e41b66daa676c3c55f23544a0de14 (patch) | |
tree | aef939a8d5cccb67d037d8d055380a82e95bbfaa /net/http/http_transaction.h | |
parent | db471b330fc82a9f450807ec1f4307c29dda23c4 (diff) | |
download | chromium_src-ec08bb23238e41b66daa676c3c55f23544a0de14.zip chromium_src-ec08bb23238e41b66daa676c3c55f23544a0de14.tar.gz chromium_src-ec08bb23238e41b66daa676c3c55f23544a0de14.tar.bz2 |
Add a "LoadLog" parameter to transactions, hostresolver, clientsocketpool and proyxservice.This dependency comes from the parent URLRequest, and is used as a container for per-request profiling data.This change is strictly a no-op refactor -- the parameter is unused, and LoadLog does nothing.BUG=http://crbug.com/14478TEST=none -- just needs to compile and pass existing tests.DESIGN=<http://docs.google.com/Doc?id=dfhcnb2v_21gbtrcpr3&hl=en>
Review URL: http://codereview.chromium.org/126303
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_transaction.h')
-rw-r--r-- | net/http/http_transaction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h index 14612e9..962a7ac 100644 --- a/net/http/http_transaction.h +++ b/net/http/http_transaction.h @@ -13,6 +13,7 @@ namespace net { class HttpRequestInfo; class HttpResponseInfo; class IOBuffer; +class LoadLog; class X509Certificate; // Represents a single HTTP transaction (i.e., a single request/response pair). @@ -36,7 +37,9 @@ class HttpTransaction { // // NOTE: The transaction is not responsible for deleting the callback object. // - virtual int Start(const HttpRequestInfo* request_info, + // Profiling information for the request is saved to |load_log| if non-NULL. + virtual int Start(LoadLog* load_log, + const HttpRequestInfo* request_info, CompletionCallback* callback) = 0; // Restarts the HTTP transaction, ignoring the last error. This call can |