HomeSort by relevance Sort by last modified time
    Searched refs:DeleteCounter (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/base/
bind_unittest.cc 139 class DeleteCounter {
141 explicit DeleteCounter(int* deletes)
145 ~DeleteCounter() {
688 DeleteCounter* counter = new DeleteCounter(&deletes);
692 Callback<DeleteCounter*(void)> no_capture_cb =
693 Bind(&PolymorphicIdentity<DeleteCounter*>, Owned(counter));
701 counter = new DeleteCounter(&deletes);
703 Bind(&DeleteCounter::VoidMethod0, Owned(counter));
720 scoped_ptr<DeleteCounter> ptr(new DeleteCounter(&deletes))
    [all...]
  /external/chromium_org/base/memory/
scoped_vector_unittest.cc 247 class DeleteCounter {
249 explicit DeleteCounter(int* deletes)
253 ~DeleteCounter() {
262 DISALLOW_COPY_AND_ASSIGN(DeleteCounter);
272 ScopedVector<DeleteCounter> deleter_vector;
273 deleter_vector.push_back(new DeleteCounter(&deletes));
275 base::Callback<ScopedVector<DeleteCounter>(void)> callback =
276 base::Bind(&PassThru<DeleteCounter>, base::Passed(&deleter_vector));
278 ScopedVector<DeleteCounter> result = callback.Run();

Completed in 449 milliseconds