Home
last modified time | relevance | path

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

/external/libchrome/mojo/public/cpp/bindings/tests/
Dcontainer_test_util.cc12 size_t MoveOnlyType::num_instances_ = 0;
33 MoveOnlyType::MoveOnlyType() : moved_(false), ptr_(this) { in MoveOnlyType() function in mojo::MoveOnlyType
37 MoveOnlyType::MoveOnlyType(MoveOnlyType&& other) in MoveOnlyType() function in mojo::MoveOnlyType
42 MoveOnlyType& MoveOnlyType::operator=(MoveOnlyType&& other) { in operator =()
48 MoveOnlyType::~MoveOnlyType() { in ~MoveOnlyType()
Dcontainer_test_util.h32 class MoveOnlyType {
34 typedef MoveOnlyType Data_;
35 MoveOnlyType();
36 MoveOnlyType(MoveOnlyType&& other);
37 MoveOnlyType& operator=(MoveOnlyType&& other);
38 ~MoveOnlyType();
42 MoveOnlyType* ptr() const { return ptr_; } in ptr()
48 MoveOnlyType* ptr_;
50 DISALLOW_COPY_AND_ASSIGN(MoveOnlyType);
/external/libchrome/base/
Dcancelable_callback_unittest.cc195 TEST(CancelableCallbackTest, MoveOnlyType) { in TEST() argument