Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 1682942abe41a6da5fa133d5566eb8401caa5d21..a0f6c515953525b5f60621b5ef05d8d9c04fa8b3 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -534,7 +534,9 @@ void ProfileIOData::MediaRequestContext::SetHttpTransactionFactory( |
set_http_transaction_factory(http_factory_.get()); |
} |
-ProfileIOData::MediaRequestContext::~MediaRequestContext() {} |
+ProfileIOData::MediaRequestContext::~MediaRequestContext() { |
+ AssertNoURLRequests(); |
+} |
ProfileIOData::AppRequestContext::AppRequestContext() { |
} |
@@ -557,7 +559,9 @@ void ProfileIOData::AppRequestContext::SetJobFactory( |
set_job_factory(job_factory_.get()); |
} |
-ProfileIOData::AppRequestContext::~AppRequestContext() {} |
+ProfileIOData::AppRequestContext::~AppRequestContext() { |
+ AssertNoURLRequests(); |
+} |
ProfileIOData::ProfileParams::ProfileParams() |
: io_thread(NULL), |