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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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
38 template <typename T> class PassRefPtr; 29 template <typename T> class PassRefPtr;
39 template <typename T> class RefPtr; 30 template <typename T> class RefPtr;
40 template <size_t size> class SizeSpecificPartitionAllocator; 31 template <size_t size> class SizeSpecificPartitionAllocator;
41 template <typename T> class StringBuffer; 32 template <typename T> class StringBuffer;
42 template <typename T, size_t inlineCapacity, typename Allocator> class Vector; 33 template <typename T, size_t inlineCapacity, typename Allocator> class Vector;
43 template <typename T> class WeakPtr; 34 template <typename T> class WeakPtr;
44 35
45 class ArrayBuffer; 36 class ArrayBuffer;
46 class ArrayBufferView; 37 class ArrayBufferView;
47 class ArrayPiece; 38 class ArrayPiece;
48 class AtomicString; 39 class AtomicString;
49 class CString; 40 class CString;
50 class Float32Array; 41 class Float32Array;
51 class Float64Array; 42 class Float64Array;
52 class Int8Array; 43 class Int8Array;
53 class Int16Array; 44 class Int16Array;
54 class Int32Array; 45 class Int32Array;
55 class String; 46 class String;
56 class StringBuilder; 47 class StringBuilder;
57 class StringImpl; 48 class StringImpl;
58 class StringView; 49 class StringView;
59 class Uint8Array; 50 class Uint8Array;
60 class Uint8ClampedArray; 51 class Uint8ClampedArray;
61 class Uint16Array; 52 class Uint16Array;
62 class Uint32Array; 53 class Uint32Array;
63 54
64 } // namespace WTF 55 } // namespace WTF
65 56
66 using WTF::OwnPtr;
67 using WTF::PassOwnPtr;
68 using WTF::PassRefPtr; 57 using WTF::PassRefPtr;
69 using WTF::RefPtr; 58 using WTF::RefPtr;
70 using WTF::Vector; 59 using WTF::Vector;
71 using WTF::WeakPtr; 60 using WTF::WeakPtr;
72 61
73 using WTF::ArrayBuffer; 62 using WTF::ArrayBuffer;
74 using WTF::ArrayBufferView; 63 using WTF::ArrayBufferView;
75 using WTF::ArrayPiece; 64 using WTF::ArrayPiece;
76 using WTF::AtomicString; 65 using WTF::AtomicString;
77 using WTF::CString; 66 using WTF::CString;
78 using WTF::Float32Array; 67 using WTF::Float32Array;
79 using WTF::Float64Array; 68 using WTF::Float64Array;
80 using WTF::Int8Array; 69 using WTF::Int8Array;
81 using WTF::Int16Array; 70 using WTF::Int16Array;
82 using WTF::Int32Array; 71 using WTF::Int32Array;
83 using WTF::String; 72 using WTF::String;
84 using WTF::StringBuffer; 73 using WTF::StringBuffer;
85 using WTF::StringBuilder; 74 using WTF::StringBuilder;
86 using WTF::StringImpl; 75 using WTF::StringImpl;
87 using WTF::StringView; 76 using WTF::StringView;
88 using WTF::Uint8Array; 77 using WTF::Uint8Array;
89 using WTF::Uint8ClampedArray; 78 using WTF::Uint8ClampedArray;
90 using WTF::Uint16Array; 79 using WTF::Uint16Array;
91 using WTF::Uint32Array; 80 using WTF::Uint32Array;
92 81
93 #endif // WTF_Forward_h 82 #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