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

Unified Diff: net/http/http_network_session.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: another compile nit Created 3 years, 7 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/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index dc6b26235b8bc7ce6f2f8655f27513efb45bd283..28d1577c30ae2dc7b0235aab4bbe2291843d9b89 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -237,6 +237,7 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
}
HttpNetworkSession::~HttpNetworkSession() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
response_drainers_.clear();
spdy_session_pool_.CloseAllSessions();
base::MemoryCoordinatorClientRegistry::GetInstance()->Unregister(this);

Powered by Google App Engine
This is Rietveld 408576698