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

Side by Side Diff: Source/wtf/ArrayBufferContents.h

Issue 15861022: Build WTF as dll in component build (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix AutoDrainedPool ctor and ThreadSpecificThreadExit exports Created 7 years, 7 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
« no previous file with comments | « Source/wtf/ArrayBuffer.h ('k') | Source/wtf/ArrayBufferView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 11 matching lines...) Expand all
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #ifndef ArrayBufferContents_h 27 #ifndef ArrayBufferContents_h
28 #define ArrayBufferContents_h 28 #define ArrayBufferContents_h
29 29
30 #include "wtf/ArrayBufferDeallocationObserver.h" 30 #include "wtf/ArrayBufferDeallocationObserver.h"
31 #include "wtf/Noncopyable.h" 31 #include "wtf/Noncopyable.h"
32 #include "wtf/WTFExport.h"
32 33
33 namespace WTF { 34 namespace WTF {
34 35
35 class ArrayBufferContents { 36 class WTF_EXPORT ArrayBufferContents {
36 WTF_MAKE_NONCOPYABLE(ArrayBufferContents); 37 WTF_MAKE_NONCOPYABLE(ArrayBufferContents);
37 public: 38 public:
38 enum InitializationPolicy { 39 enum InitializationPolicy {
39 ZeroInitialize, 40 ZeroInitialize,
40 DontInitialize 41 DontInitialize
41 }; 42 };
42 43
43 ArrayBufferContents(); 44 ArrayBufferContents();
44 ArrayBufferContents(unsigned numElements, unsigned elementByteSize, ArrayBuf ferContents::InitializationPolicy); 45 ArrayBufferContents(unsigned numElements, unsigned elementByteSize, ArrayBuf ferContents::InitializationPolicy);
45 46
(...skipping 11 matching lines...) Expand all
57 58
58 private: 59 private:
59 void* m_data; 60 void* m_data;
60 unsigned m_sizeInBytes; 61 unsigned m_sizeInBytes;
61 ArrayBufferDeallocationObserver* m_deallocationObserver; 62 ArrayBufferDeallocationObserver* m_deallocationObserver;
62 }; 63 };
63 64
64 } // namespace WTF 65 } // namespace WTF
65 66
66 #endif // ArrayBufferContents_h 67 #endif // ArrayBufferContents_h
OLDNEW
« no previous file with comments | « Source/wtf/ArrayBuffer.h ('k') | Source/wtf/ArrayBufferView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698