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

Unified Diff: content/browser/renderer_host/resource_dispatcher_host.cc

Issue 6825038: Create a content::ResourceContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Oops, inverted the assertions. Created 9 years, 8 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: content/browser/renderer_host/resource_dispatcher_host.cc
diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
index 0e3fafc1273b0523c604b4dfdcd2dce76a6fcdc5..bec4e7c5b2b3dfe2020871c139a13ec668d39561 100644
--- a/content/browser/renderer_host/resource_dispatcher_host.cc
+++ b/content/browser/renderer_host/resource_dispatcher_host.cc
@@ -1587,6 +1587,7 @@ static int GetCertID(net::URLRequest* request, int child_id) {
void ResourceDispatcherHost::NotifyResponseStarted(net::URLRequest* request,
int child_id) {
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
// Notify the observers on the IO thread.
FOR_EACH_OBSERVER(Observer, observer_list_, OnRequestStarted(this, request));

Powered by Google App Engine
This is Rietveld 408576698