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

  /external/libchrome/base/test/
opaque_ref_counted.cc 12 class OpaqueRefCounted : public RefCounted<OpaqueRefCounted> {
14 OpaqueRefCounted() = default;
19 friend class RefCounted<OpaqueRefCounted>;
20 ~OpaqueRefCounted() = default;
22 DISALLOW_COPY_AND_ASSIGN(OpaqueRefCounted);
39 scoped_refptr<OpaqueRefCounted> MakeOpaqueRefCounted() {
40 return new OpaqueRefCounted();
43 void TestOpaqueRefCounted(scoped_refptr<OpaqueRefCounted> p) {
58 template class scoped_refptr<base::OpaqueRefCounted>;
    [all...]
opaque_ref_counted.h 12 // OpaqueRefCounted is a test class for scoped_refptr to ensure it still works
14 class OpaqueRefCounted;
17 // Test functions that return and accept scoped_refptr<OpaqueRefCounted> values.
18 scoped_refptr<OpaqueRefCounted> MakeOpaqueRefCounted();
19 void TestOpaqueRefCounted(scoped_refptr<OpaqueRefCounted> p);
26 extern template class scoped_refptr<base::OpaqueRefCounted>;
  /external/libchrome/base/memory/
ref_counted_unittest.cc 172 scoped_refptr<base::OpaqueRefCounted> initial = base::MakeOpaqueRefCounted();
175 scoped_refptr<base::OpaqueRefCounted> assigned;
178 scoped_refptr<base::OpaqueRefCounted> copied(initial);
180 scoped_refptr<base::OpaqueRefCounted> moved(std::move(initial));
182 scoped_refptr<base::OpaqueRefCounted> move_assigned;

Completed in 69 milliseconds