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

Unified Diff: net/url_request/url_request_job_factory.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/url_request/url_request_job_factory.h ('k') | net/url_request/url_request_job_factory_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_job_factory.cc
diff --git a/net/url_request/url_request_job_factory.cc b/net/url_request/url_request_job_factory.cc
index e203cb17d6c12d113690034e6cd6ff9750805227..9895ae1cd013e5f0355555c5078c0a3af4ec88b7 100644
--- a/net/url_request/url_request_job_factory.cc
+++ b/net/url_request/url_request_job_factory.cc
@@ -15,6 +15,8 @@ bool URLRequestJobFactory::ProtocolHandler::IsSafeRedirectTarget(
URLRequestJobFactory::URLRequestJobFactory() {}
-URLRequestJobFactory::~URLRequestJobFactory() {}
+URLRequestJobFactory::~URLRequestJobFactory() {
+ DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
+}
} // namespace net
« no previous file with comments | « net/url_request/url_request_job_factory.h ('k') | net/url_request/url_request_job_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698