summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_update_job_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-11 10:18:59 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-11 10:18:59 +0000
commit9acd869ec5621373757a6959310f39e1f5ec3f3d (patch)
tree43b9beab430d066670b7515579e20c755d9a0d4d /webkit/appcache/appcache_update_job_unittest.cc
parent3f45597ed0041c49a627fd5e2be55ff6d5570022 (diff)
downloadchromium_src-9acd869ec5621373757a6959310f39e1f5ec3f3d.zip
chromium_src-9acd869ec5621373757a6959310f39e1f5ec3f3d.tar.gz
chromium_src-9acd869ec5621373757a6959310f39e1f5ec3f3d.tar.bz2
net: Remove typedef net::URLRequestJob URLRequestJob;
BUG=64263 TEST=compiled locally, trybots Review URL: http://codereview.chromium.org/5607004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68935 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_update_job_unittest.cc')
-rw-r--r--webkit/appcache/appcache_update_job_unittest.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc
index 543ece5..f4aacf2 100644
--- a/webkit/appcache/appcache_update_job_unittest.cc
+++ b/webkit/appcache/appcache_update_job_unittest.cc
@@ -41,8 +41,8 @@ class MockHttpServer {
return GURL("http://mockhost/" + path);
}
- static URLRequestJob* JobFactory(net::URLRequest* request,
- const std::string& scheme) {
+ static net::URLRequestJob* JobFactory(net::URLRequest* request,
+ const std::string& scheme) {
if (request->url().host() != "mockhost")
return new URLRequestErrorJob(request, -1);
@@ -287,8 +287,8 @@ class MockFrontend : public AppCacheFrontend {
};
// Helper factories to simulate redirected URL responses for tests.
-static URLRequestJob* RedirectFactory(net::URLRequest* request,
- const std::string& scheme) {
+static net::URLRequestJob* RedirectFactory(net::URLRequest* request,
+ const std::string& scheme) {
return new URLRequestTestJob(request,
URLRequestTestJob::test_redirect_headers(),
URLRequestTestJob::test_data_1(),
@@ -322,8 +322,8 @@ class RetryRequestTestJob : public URLRequestTestJob {
expected_requests_ = 0;
}
- static URLRequestJob* RetryFactory(net::URLRequest* request,
- const std::string& scheme) {
+ static net::URLRequestJob* RetryFactory(net::URLRequest* request,
+ const std::string& scheme) {
++num_requests_;
if (num_retries_ > 0 && request->original_url() == kRetryUrl) {
--num_retries_;
@@ -424,8 +424,8 @@ class HttpHeadersRequestTestJob : public URLRequestTestJob {
already_checked_ = false;
}
- static URLRequestJob* IfModifiedSinceFactory(net::URLRequest* request,
- const std::string& scheme) {
+ static net::URLRequestJob* IfModifiedSinceFactory(net::URLRequest* request,
+ const std::string& scheme) {
if (!already_checked_) {
already_checked_ = true; // only check once for a test
const net::HttpRequestHeaders& extra_headers =