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

Unified Diff: components/policy/core/common/schema_registry.cc

Issue 2915493002: Replace deprecated base::NonThreadSafe in components/policy 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
« no previous file with comments | « components/policy/core/common/schema_registry.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/schema_registry.cc
diff --git a/components/policy/core/common/schema_registry.cc b/components/policy/core/common/schema_registry.cc
index eb447b848f44dd67954ba6e0f8ff95aea48f1ed6..5b282b6c9f935295659a55a4dae1e1826bee7d5d 100644
--- a/components/policy/core/common/schema_registry.cc
+++ b/components/policy/core/common/schema_registry.cc
@@ -22,6 +22,7 @@ SchemaRegistry::SchemaRegistry() : schema_map_(new SchemaMap) {
}
SchemaRegistry::~SchemaRegistry() {
+ DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
emaxx 2017/05/30 10:54:39 (note for myself) We need to also add the DCHECKs
for (auto& observer : internal_observers_)
observer.OnSchemaRegistryShuttingDown(this);
}
« no previous file with comments | « components/policy/core/common/schema_registry.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698