Searched defs:RefCountedBytes (Results 1 - 2 of 2) sorted by relevance

/external/chromium/base/memory/
H A Dref_counted_memory.cc21 RefCountedBytes::RefCountedBytes() { function in class:RefCountedBytes
24 RefCountedBytes::RefCountedBytes(const std::vector<unsigned char>& initializer) function in class:RefCountedBytes
28 RefCountedBytes* RefCountedBytes::TakeVector(
30 RefCountedBytes* bytes = new RefCountedBytes;
35 const unsigned char* RefCountedBytes::front() const {
41 size_t RefCountedBytes
[all...]
H A Dref_counted_memory.h58 class BASE_API RefCountedBytes : public RefCountedMemory { class in inherits: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);
[all...]

Completed in 458 milliseconds