Searched refs:RefCountedSharedMemoryMapping (Results 1 – 3 of 3) sorted by relevance
106 RefCountedSharedMemoryMapping::RefCountedSharedMemoryMapping( in RefCountedSharedMemoryMapping() function in base::RefCountedSharedMemoryMapping112 RefCountedSharedMemoryMapping::~RefCountedSharedMemoryMapping() = default;114 const unsigned char* RefCountedSharedMemoryMapping::front() const { in front()118 size_t RefCountedSharedMemoryMapping::size() const { in size()123 scoped_refptr<RefCountedSharedMemoryMapping>124 RefCountedSharedMemoryMapping::CreateFromWholeRegion( in CreateFromWholeRegion()129 return MakeRefCounted<RefCountedSharedMemoryMapping>(std::move(mapping)); in CreateFromWholeRegion()
167 class BASE_EXPORT RefCountedSharedMemoryMapping : public RefCountedMemory {171 explicit RefCountedSharedMemoryMapping(ReadOnlySharedMemoryMapping mapping);175 static scoped_refptr<RefCountedSharedMemoryMapping> CreateFromWholeRegion(183 ~RefCountedSharedMemoryMapping() override;188 DISALLOW_COPY_AND_ASSIGN(RefCountedSharedMemoryMapping);
90 TEST(RefCountedMemoryUnitTest, RefCountedSharedMemoryMapping) { in TEST() argument92 scoped_refptr<RefCountedSharedMemoryMapping> mem; in TEST()100 mem = MakeRefCounted<RefCountedSharedMemoryMapping>(std::move(ro_mapping)); in TEST()114 mem = RefCountedSharedMemoryMapping::CreateFromWholeRegion(region.region); in TEST()