Home
last modified time | relevance | path

Searched refs:DeleterMarker (Results 1 – 1 of 1) sorted by relevance

/system/update_engine/update_manager/
Dboxed_value_unittest.cc47 class DeleterMarker { class
49 explicit DeleterMarker(bool* marker) : marker_(marker) { *marker_ = false; } in DeleterMarker() function in chromeos_update_manager::DeleterMarker
51 ~DeleterMarker() { *marker_ = true; } in ~DeleterMarker()
54 friend string BoxedValue::ValuePrinter<DeleterMarker>(const void*);
61 string BoxedValue::ValuePrinter<DeleterMarker>(const void* value) { in ValuePrinter()
62 const DeleterMarker* val = reinterpret_cast<const DeleterMarker*>(value); in ValuePrinter()
69 const DeleterMarker* deleter_marker = new DeleterMarker(&marker); in TEST()
80 const DeleterMarker* deleter_marker = new DeleterMarker(&marker); in TEST()
98 lst.emplace_back(new const DeleterMarker(&marker)); in TEST()
256 BoxedValue value = BoxedValue(new DeleterMarker(&marker)); in TEST()