diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 05:02:01 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 05:02:01 +0000 |
commit | 7cbb005a28e8c86a2e9ee162add900d0ff15635c (patch) | |
tree | ef128fe5f28ff3d9e269d7e381126c6f22fa46de /net | |
parent | 23e5260e8875b1fdde8587b19356ba0aa6a37aa7 (diff) | |
download | chromium_src-7cbb005a28e8c86a2e9ee162add900d0ff15635c.zip chromium_src-7cbb005a28e8c86a2e9ee162add900d0ff15635c.tar.gz chromium_src-7cbb005a28e8c86a2e9ee162add900d0ff15635c.tar.bz2 |
Reorder URLRequest members so URLRequestContext lasts longer than URLRequestJob.
BUG=http://crbug.com/14231
Review URL: http://codereview.chromium.org/125235
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/url_request/url_request.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h index ed38cd7..0c83e32 100644 --- a/net/url_request/url_request.h +++ b/net/url_request/url_request.h @@ -515,6 +515,9 @@ class URLRequest { // Origin). static std::string StripPostSpecificHeaders(const std::string& headers); + // Contextual information used for this request (can be NULL). + scoped_refptr<URLRequestContext> context_; + scoped_refptr<URLRequestJob> job_; scoped_refptr<net::UploadData> upload_; GURL url_; @@ -556,9 +559,6 @@ class URLRequest { // infinite redirects. int redirect_limit_; - // Contextual information used for this request (can be NULL). - scoped_refptr<URLRequestContext> context_; - // Cached value for use after we've orphaned the job handling the // first transaction in a request involving redirects. uint64 final_upload_progress_; |