Home | History | Annotate | Download | only in memory

Lines Matching defs:RefCountedBytes

58 class BASE_API RefCountedBytes : public RefCountedMemory {
60 RefCountedBytes();
62 // Constructs a RefCountedBytes object by _copying_ from |initializer|.
63 RefCountedBytes(const std::vector<unsigned char>& initializer);
65 // Constructs a RefCountedBytes object by performing a swap. (To non
66 // destructively build a RefCountedBytes, use the constructor that takes a
68 static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
77 friend class base::RefCountedThreadSafe<RefCountedBytes>;
78 virtual ~RefCountedBytes();
81 DISALLOW_COPY_AND_ASSIGN(RefCountedBytes);