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

Unified Diff: components/invalidation/impl/p2p_invalidation_service.cc

Issue 2909113002: Deprecate NonThreadSafe in components/invalidation in favor of SequenceChecker. (Closed)
Patch Set: 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: components/invalidation/impl/p2p_invalidation_service.cc
diff --git a/components/invalidation/impl/p2p_invalidation_service.cc b/components/invalidation/impl/p2p_invalidation_service.cc
index 2d952a11eb567f4cc412ba368b8fa89db2bd70b3..e5bbe8b4d5230d70e7d22e938fe56f722f97aee1 100644
--- a/components/invalidation/impl/p2p_invalidation_service.cc
+++ b/components/invalidation/impl/p2p_invalidation_service.cc
@@ -36,6 +36,7 @@ P2PInvalidationService::P2PInvalidationService(
}
P2PInvalidationService::~P2PInvalidationService() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
}
void P2PInvalidationService::UpdateCredentials(const std::string& username,
« no previous file with comments | « components/invalidation/impl/p2p_invalidation_service.h ('k') | components/invalidation/impl/registration_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698