MCPcopy Create free account
hub / github.com/cztomczak/cefpython / AsserterBase

Class AsserterBase

src/include/base/cef_thread_collision_warner.h:174–177  ·  view source on GitHub ↗

The class ThreadCollisionWarner uses an Asserter to notify the collision AsserterBase is the interfaces and DCheckAsserter is the default asserter used. During the unit tests is used another class that doesn't "DCHECK" in case of collision (check thread_collision_warner_unittests.cc)

Source from the content-addressed store, hash-verified

172// used. During the unit tests is used another class that doesn't "DCHECK"
173// in case of collision (check thread_collision_warner_unittests.cc)
174struct AsserterBase {
175 virtual ~AsserterBase() {}
176 virtual void warn() = 0;
177};
178
179struct DCheckAsserter : public AsserterBase {
180 virtual ~DCheckAsserter() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected