summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 23:40:08 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 23:40:08 +0000
commit11a25766503775e7bb0dfecb30ee57e6f35545fe (patch)
treeef1b58e773aa73fb8ab37eb91d15aa5df56d259f /net
parent43beaef40b42c3afb4870043ab5720286e786ae4 (diff)
downloadchromium_src-11a25766503775e7bb0dfecb30ee57e6f35545fe.zip
chromium_src-11a25766503775e7bb0dfecb30ee57e6f35545fe.tar.gz
chromium_src-11a25766503775e7bb0dfecb30ee57e6f35545fe.tar.bz2
add url_request_test_job to the build
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/SConscript2
-rw-r--r--net/url_request/url_request_test_job.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/SConscript b/net/SConscript
index 1303f8a..061dffe 100644
--- a/net/SConscript
+++ b/net/SConscript
@@ -98,6 +98,7 @@ input_files = [
'url_request/url_request_job_metrics.cc',
'url_request/url_request_job_tracker.cc',
'url_request/url_request_simple_job.cc',
+ 'url_request/url_request_test_job.cc',
'url_request/url_request_view_cache_job.cc',
]
@@ -130,7 +131,6 @@ if env['PLATFORM'] == 'win32':
'url_request/url_request_ftp_job.cc',
'url_request/url_request_inet_job.cc',
'url_request/url_request_job_manager.cc',
- 'url_request/url_request_test_job.cc',
])
if env['PLATFORM'] == 'win32':
diff --git a/net/url_request/url_request_test_job.cc b/net/url_request/url_request_test_job.cc
index da9d393..8c4cd99 100644
--- a/net/url_request/url_request_test_job.cc
+++ b/net/url_request/url_request_test_job.cc
@@ -75,9 +75,9 @@ URLRequestJob* URLRequestTestJob::Factory(URLRequest* request,
URLRequestTestJob::URLRequestTestJob(URLRequest* request)
: URLRequestJob(request),
stage_(WAITING),
+ offset_(0),
async_buf_(NULL),
- async_buf_size_(0),
- offset_(0) {
+ async_buf_size_(0) {
}
// Force the response to set a reasonable MIME type