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

Unified Diff: net/url_request/url_request_test_util.cc

Issue 501163002: Make URLRequest's constructor private, and make URLRequestContext a friend class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge yet again Created 6 years, 3 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
Index: net/url_request/url_request_test_util.cc
diff --git a/net/url_request/url_request_test_util.cc b/net/url_request/url_request_test_util.cc
index fcdae3be217e3ec43c538f2a436a9c0cf1b68a8a..2d3f3aac9549c980f5e9dc0dde700a7c73fd0948 100644
--- a/net/url_request/url_request_test_util.cc
+++ b/net/url_request/url_request_test_util.cc
@@ -130,15 +130,6 @@ void TestURLRequestContext::Init() {
context_storage_.set_job_factory(new URLRequestJobFactoryImpl);
}
-TestURLRequest::TestURLRequest(const GURL& url,
- RequestPriority priority,
- Delegate* delegate,
- TestURLRequestContext* context)
- : URLRequest(url, priority, delegate, context, NULL, NULL) {}
-
-TestURLRequest::~TestURLRequest() {
-}
-
TestURLRequestContextGetter::TestURLRequestContextGetter(
const scoped_refptr<base::SingleThreadTaskRunner>& network_task_runner)
: network_task_runner_(network_task_runner) {
« no previous file with comments | « net/url_request/url_request_test_util.h ('k') | net/url_request/url_request_throttler_simulation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698