Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: Source/core/dom/DOMArrayBufferDeallocationObserver.h

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef DOMArrayBufferDeallocationObserver_h
6 #define DOMArrayBufferDeallocationObserver_h
7
8 #include "wtf/ArrayBufferDeallocationObserver.h"
9
10 namespace blink {
11
12 class DOMArrayBufferDeallocationObserver final : public WTF::ArrayBufferDealloca tionObserver {
13 public:
14 static DOMArrayBufferDeallocationObserver* instance();
15
16 virtual void arrayBufferDeallocated(unsigned sizeInBytes) override;
17
18 protected:
19 virtual void blinkAllocatedMemory(unsigned sizeInBytes) override;
20 };
21
22 } // namespace blink
23
24 #endif // DOMArrayBufferDeallocationObserver_h
OLDNEW
« no previous file with comments | « Source/core/dom/DOMArrayBuffer.cpp ('k') | Source/core/dom/DOMArrayBufferDeallocationObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698