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

Unified Diff: content/public/test/mock_blob_url_request_context.cc

Issue 379293002: Add AssertNoURLRequests() to URLRequestContext subclass destructors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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/public/test/mock_blob_url_request_context.cc
diff --git a/content/public/test/mock_blob_url_request_context.cc b/content/public/test/mock_blob_url_request_context.cc
index 72551840c131e8abecc733f76ad9abfaaa716b7b..7d7ea1280d698305f77386b77b6a8b3fd3bf6818 100644
--- a/content/public/test/mock_blob_url_request_context.cc
+++ b/content/public/test/mock_blob_url_request_context.cc
@@ -24,6 +24,7 @@ MockBlobURLRequestContext::MockBlobURLRequestContext(
}
MockBlobURLRequestContext::~MockBlobURLRequestContext() {
+ AssertNoURLRequests();
}
ScopedTextBlob::ScopedTextBlob(

Powered by Google App Engine
This is Rietveld 408576698