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

Unified Diff: content/test/net/url_request_slow_download_job.h

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/net/url_request_mock_http_job.cc ('k') | content/test/net/url_request_slow_download_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/net/url_request_slow_download_job.h
diff --git a/content/test/net/url_request_slow_download_job.h b/content/test/net/url_request_slow_download_job.h
index fe5489ebdba000edb90a7f1cafb0e3f6fbb74f88..bc7c1ea89bf440be3ef34d2d34c780d68fb61831 100644
--- a/content/test/net/url_request_slow_download_job.h
+++ b/content/test/net/url_request_slow_download_job.h
@@ -40,6 +40,7 @@ class URLRequestSlowDownloadJob : public net::URLRequestJob {
int *bytes_read) OVERRIDE;
static net::URLRequestJob* Factory(net::URLRequest* request,
+ net::NetworkDelegate* network_delegate,
const std::string& scheme);
// Returns the current number of URLRequestSlowDownloadJobs that have
@@ -50,7 +51,8 @@ class URLRequestSlowDownloadJob : public net::URLRequestJob {
static void AddUrlHandler();
private:
- explicit URLRequestSlowDownloadJob(net::URLRequest* request);
+ URLRequestSlowDownloadJob(net::URLRequest* request,
+ net::NetworkDelegate* network_delegate);
virtual ~URLRequestSlowDownloadJob();
// Enum indicating where we are in the read after a call to
« no previous file with comments | « content/test/net/url_request_mock_http_job.cc ('k') | content/test/net/url_request_slow_download_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698