Lines Matching defs:Private
41 // ArrayBuffer::Private -------------------------------------------------------
51 // the array buffer takes a reference to the ArrayBuffer::Private object that
58 // buffer to AddRef the same ArrayBuffer::Private. To make that work, we store
59 // a pointer to the ArrayBuffer::Private object in an internal field of the
62 class ArrayBuffer::Private : public base::RefCounted<ArrayBuffer::Private> {
64 static scoped_refptr<Private> From(v8::Isolate* isolate,
70 private:
71 friend class base::RefCounted<Private>;
73 Private(v8::Isolate* isolate, v8::Handle<v8::ArrayBuffer> array);
74 ~Private();
77 const v8::WeakCallbackData<v8::ArrayBuffer, Private>& data);
80 scoped_refptr<Private> self_reference_;
86 scoped_refptr<ArrayBuffer::Private> ArrayBuffer::Private::From(
92 return make_scoped_refptr(static_cast<Private*>(
95 return make_scoped_refptr(new Private(isolate, array));
98 ArrayBuffer::Private::Private(v8::Isolate* isolate,
115 ArrayBuffer::Private::~Private() {
119 void ArrayBuffer::Private::WeakCallback(
120 const v8::WeakCallbackData<v8::ArrayBuffer, Private>& data) {
121 Private* parameter = data.GetParameter();
135 private_ = ArrayBuffer::Private::From(isolate, array);