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

Unified Diff: net/url_request/url_request_job_factory.cc

Issue 2910473005: Deprecate NonThreadSafe in net/ in favor of SequenceChecker/ThreadChecker. (Closed)
Patch Set: Fix chromecast compile 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/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..c8f19e516aa3779c6ef91a6a35086b66fbbefafd 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_SEQUENCE(sequence_checker_);
+}
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698