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

Unified Diff: net/url_request/url_request.cc

Issue 14197014: Add TestBrowserThreadBundle into RenderViewHostTestHarness. Kill some unnecessary real threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT Created 7 years, 6 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/public/test/test_renderer_host.cc ('k') | webkit/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.cc
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 4522315b6d69ab814ab8861588295cb58847db10..fe41a6c0a8a102a779acd96db7b21d64a9bfe3d3 100644
--- a/net/url_request/url_request.cc
+++ b/net/url_request/url_request.cc
@@ -228,10 +228,6 @@ URLRequest::URLRequest(const GURL& url,
DCHECK(base::MessageLoop::current())
<< "The current base::MessageLoop must exist";
- DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO))
- << ""
- "The current base::MessageLoop must be TYPE_IO";
-
CHECK(context);
context->url_requests()->insert(this);
@@ -268,10 +264,6 @@ URLRequest::URLRequest(const GURL& url,
DCHECK(base::MessageLoop::current())
<< "The current base::MessageLoop must exist";
- DCHECK(base::MessageLoop::current()->IsType(base::MessageLoop::TYPE_IO))
- << ""
- "The current base::MessageLoop must be TYPE_IO";
-
CHECK(context);
context->url_requests()->insert(this);
« no previous file with comments | « content/public/test/test_renderer_host.cc ('k') | webkit/browser/appcache/appcache_storage_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698