Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: chrome/browser/automation/url_request_automation_job.h

Issue 10825073: Stop using ScopedAllowIO in content::ResourceDispatcherHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Chrome Frame fix Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // This class simulates what wininet does when a dns lookup fails. 4 // This class simulates what wininet does when a dns lookup fails.
5 5
6 #ifndef CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 6 #ifndef CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
7 #define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 7 #define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/common/ref_counted_util.h" 10 #include "chrome/common/ref_counted_util.h"
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 // the host. 120 // the host.
121 bool is_pending_; 121 bool is_pending_;
122 122
123 // Contains the request status code, which is eventually passed to the http 123 // Contains the request status code, which is eventually passed to the http
124 // stack when we receive a Read request for a completed job. 124 // stack when we receive a Read request for a completed job.
125 net::URLRequestStatus request_status_; 125 net::URLRequestStatus request_status_;
126 126
127 // Contains the ip address and port of the destination host. 127 // Contains the ip address and port of the destination host.
128 net::HostPortPair socket_address_; 128 net::HostPortPair socket_address_;
129 129
130 // Size of the upload data appended to the request.
131 uint64 upload_size_;
132
130 base::WeakPtrFactory<URLRequestAutomationJob> weak_factory_; 133 base::WeakPtrFactory<URLRequestAutomationJob> weak_factory_;
131 134
132 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob); 135 DISALLOW_COPY_AND_ASSIGN(URLRequestAutomationJob);
133 }; 136 };
134 137
135 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_ 138 #endif // CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/url_request_automation_job.cc » ('j') | net/url_request/url_request.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698