diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:13:24 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-11 00:13:24 +0000 |
commit | cbe04ef2b51e5a666869235e2a49714057e523da (patch) | |
tree | 1baf21d471361eb078479bad74d7822f24a482bd /webkit/appcache | |
parent | 9e790bdb7aabd7849243158d7095fb79dc26262c (diff) | |
download | chromium_src-cbe04ef2b51e5a666869235e2a49714057e523da.zip chromium_src-cbe04ef2b51e5a666869235e2a49714057e523da.tar.gz chromium_src-cbe04ef2b51e5a666869235e2a49714057e523da.tar.bz2 |
net: Remove typedef net::URLRequestTestJob URLRequestTestJob;
BUG=64263
TEST=compiled locally, trybots
Review URL: http://codereview.chromium.org/6202002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache')
-rw-r--r-- | webkit/appcache/appcache_update_job_unittest.cc | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/webkit/appcache/appcache_update_job_unittest.cc b/webkit/appcache/appcache_update_job_unittest.cc index 234c967..46f4cf7 100644 --- a/webkit/appcache/appcache_update_job_unittest.cc +++ b/webkit/appcache/appcache_update_job_unittest.cc @@ -48,7 +48,7 @@ class MockHttpServer { std::string headers, body; GetMockResponse(request->url().path(), &headers, &body); - return new URLRequestTestJob(request, headers, body, true); + return new net::URLRequestTestJob(request, headers, body, true); } private: @@ -289,14 +289,15 @@ class MockFrontend : public AppCacheFrontend { // Helper factories to simulate redirected URL responses for tests. static net::URLRequestJob* RedirectFactory(net::URLRequest* request, const std::string& scheme) { - return new URLRequestTestJob(request, - URLRequestTestJob::test_redirect_headers(), - URLRequestTestJob::test_data_1(), - true); + return new net::URLRequestTestJob( + request, + net::URLRequestTestJob::test_redirect_headers(), + net::URLRequestTestJob::test_data_1(), + true); } // Helper class to simulate a URL that returns retry or success. -class RetryRequestTestJob : public URLRequestTestJob { +class RetryRequestTestJob : public net::URLRequestTestJob { public: enum RetryHeader { NO_RETRY_AFTER, @@ -380,7 +381,7 @@ class RetryRequestTestJob : public URLRequestTestJob { explicit RetryRequestTestJob(net::URLRequest* request, const std::string& headers, int response_code) - : URLRequestTestJob(request, headers, data(), true), + : net::URLRequestTestJob(request, headers, data(), true), response_code_(response_code) { } @@ -400,7 +401,7 @@ RetryRequestTestJob::RetryHeader RetryRequestTestJob::retry_after_; int RetryRequestTestJob::expected_requests_ = 0; // Helper class to check for certain HTTP headers. -class HttpHeadersRequestTestJob : public URLRequestTestJob { +class HttpHeadersRequestTestJob : public net::URLRequestTestJob { public: // Call this at the start of each HTTP header-related test. static void Initialize(const std::string& expect_if_modified_since, |