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

Side by Side Diff: third_party/WebKit/Source/wtf/Forward.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2009, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 * 18 *
19 */ 19 */
20 20
21 #ifndef WTF_Forward_h 21 #ifndef WTF_Forward_h
22 #define WTF_Forward_h 22 #define WTF_Forward_h
23 23
24 #include "wtf/Compiler.h" 24 #include "wtf/Compiler.h"
25 #include <stddef.h> 25 #include <stddef.h>
26 26
27 namespace WTF { 27 namespace WTF {
28 28
29 template <typename T> class OwnPtr;
30 #if COMPILER(MSVC)
31 #ifndef PassOwnPtr
32 #define PassOwnPtr OwnPtr
33 #endif
34 #else
35 template <typename T>
36 using PassOwnPtr = OwnPtr<T>;
37 #endif
29 template <typename T> class PassRefPtr; 38 template <typename T> class PassRefPtr;
30 template <typename T> class RefPtr; 39 template <typename T> class RefPtr;
31 template <size_t size> class SizeSpecificPartitionAllocator; 40 template <size_t size> class SizeSpecificPartitionAllocator;
32 template <typename T> class StringBuffer; 41 template <typename T> class StringBuffer;
33 template <typename T, size_t inlineCapacity, typename Allocator> class Vector; 42 template <typename T, size_t inlineCapacity, typename Allocator> class Vector;
34 template <typename T> class WeakPtr; 43 template <typename T> class WeakPtr;
35 44
36 class ArrayBuffer; 45 class ArrayBuffer;
37 class ArrayBufferView; 46 class ArrayBufferView;
38 class ArrayPiece; 47 class ArrayPiece;
39 class AtomicString; 48 class AtomicString;
40 class CString; 49 class CString;
41 class Float32Array; 50 class Float32Array;
42 class Float64Array; 51 class Float64Array;
43 class Int8Array; 52 class Int8Array;
44 class Int16Array; 53 class Int16Array;
45 class Int32Array; 54 class Int32Array;
46 class String; 55 class String;
47 class StringBuilder; 56 class StringBuilder;
48 class StringImpl; 57 class StringImpl;
49 class StringView; 58 class StringView;
50 class Uint8Array; 59 class Uint8Array;
51 class Uint8ClampedArray; 60 class Uint8ClampedArray;
52 class Uint16Array; 61 class Uint16Array;
53 class Uint32Array; 62 class Uint32Array;
54 63
55 } // namespace WTF 64 } // namespace WTF
56 65
66 using WTF::OwnPtr;
67 using WTF::PassOwnPtr;
57 using WTF::PassRefPtr; 68 using WTF::PassRefPtr;
58 using WTF::RefPtr; 69 using WTF::RefPtr;
59 using WTF::Vector; 70 using WTF::Vector;
60 using WTF::WeakPtr; 71 using WTF::WeakPtr;
61 72
62 using WTF::ArrayBuffer; 73 using WTF::ArrayBuffer;
63 using WTF::ArrayBufferView; 74 using WTF::ArrayBufferView;
64 using WTF::ArrayPiece; 75 using WTF::ArrayPiece;
65 using WTF::AtomicString; 76 using WTF::AtomicString;
66 using WTF::CString; 77 using WTF::CString;
67 using WTF::Float32Array; 78 using WTF::Float32Array;
68 using WTF::Float64Array; 79 using WTF::Float64Array;
69 using WTF::Int8Array; 80 using WTF::Int8Array;
70 using WTF::Int16Array; 81 using WTF::Int16Array;
71 using WTF::Int32Array; 82 using WTF::Int32Array;
72 using WTF::String; 83 using WTF::String;
73 using WTF::StringBuffer; 84 using WTF::StringBuffer;
74 using WTF::StringBuilder; 85 using WTF::StringBuilder;
75 using WTF::StringImpl; 86 using WTF::StringImpl;
76 using WTF::StringView; 87 using WTF::StringView;
77 using WTF::Uint8Array; 88 using WTF::Uint8Array;
78 using WTF::Uint8ClampedArray; 89 using WTF::Uint8ClampedArray;
79 using WTF::Uint16Array; 90 using WTF::Uint16Array;
80 using WTF::Uint32Array; 91 using WTF::Uint32Array;
81 92
82 #endif // WTF_Forward_h 93 #endif // WTF_Forward_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/FilePrintStream.cpp ('k') | third_party/WebKit/Source/wtf/Functional.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698