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

Unified Diff: net/http/http_network_session.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: rebase on r476634 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
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 71482083a039ae358a2528f85763e2add1059bd7..ab10bcfbc374d0e9185c90ff94e368dcc732a48a 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -244,6 +244,7 @@ HttpNetworkSession::HttpNetworkSession(const Params& params,
}
HttpNetworkSession::~HttpNetworkSession() {
+ DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
response_drainers_.clear();
spdy_session_pool_.CloseAllSessions();
base::MemoryCoordinatorClientRegistry::GetInstance()->Unregister(this);
« no previous file with comments | « net/http/http_network_session.h ('k') | net/http/http_server_properties_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698