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

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

Issue 2329243002: Implement WTF::WeakPtr in terms of base::WeakPtr (Closed)
Patch Set: Thread-safety fix with comment Created 4 years, 3 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
(...skipping 13 matching lines...) Expand all
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 PassRefPtr; 29 template <typename T> class PassRefPtr;
30 template <typename T> class RefPtr; 30 template <typename T> class RefPtr;
31 template <size_t size> class SizeSpecificPartitionAllocator; 31 template <size_t size> class SizeSpecificPartitionAllocator;
32 template <typename T> class StringBuffer; 32 template <typename T> class StringBuffer;
33 template <typename T, size_t inlineCapacity, typename Allocator> class Vector; 33 template <typename T, size_t inlineCapacity, typename Allocator> class Vector;
34 template <typename T> class WeakPtr;
35 34
36 class ArrayBuffer; 35 class ArrayBuffer;
37 class ArrayBufferView; 36 class ArrayBufferView;
38 class ArrayPiece; 37 class ArrayPiece;
39 class AtomicString; 38 class AtomicString;
40 class CString; 39 class CString;
41 class Float32Array; 40 class Float32Array;
42 class Float64Array; 41 class Float64Array;
43 class Int8Array; 42 class Int8Array;
44 class Int16Array; 43 class Int16Array;
45 class Int32Array; 44 class Int32Array;
46 class String; 45 class String;
47 class StringBuilder; 46 class StringBuilder;
48 class StringImpl; 47 class StringImpl;
49 class StringView; 48 class StringView;
50 class Uint8Array; 49 class Uint8Array;
51 class Uint8ClampedArray; 50 class Uint8ClampedArray;
52 class Uint16Array; 51 class Uint16Array;
53 class Uint32Array; 52 class Uint32Array;
54 53
55 } // namespace WTF 54 } // namespace WTF
56 55
57 using WTF::PassRefPtr; 56 using WTF::PassRefPtr;
58 using WTF::RefPtr; 57 using WTF::RefPtr;
59 using WTF::Vector; 58 using WTF::Vector;
60 using WTF::WeakPtr;
61 59
62 using WTF::ArrayBuffer; 60 using WTF::ArrayBuffer;
63 using WTF::ArrayBufferView; 61 using WTF::ArrayBufferView;
64 using WTF::ArrayPiece; 62 using WTF::ArrayPiece;
65 using WTF::AtomicString; 63 using WTF::AtomicString;
66 using WTF::CString; 64 using WTF::CString;
67 using WTF::Float32Array; 65 using WTF::Float32Array;
68 using WTF::Float64Array; 66 using WTF::Float64Array;
69 using WTF::Int8Array; 67 using WTF::Int8Array;
70 using WTF::Int16Array; 68 using WTF::Int16Array;
71 using WTF::Int32Array; 69 using WTF::Int32Array;
72 using WTF::String; 70 using WTF::String;
73 using WTF::StringBuffer; 71 using WTF::StringBuffer;
74 using WTF::StringBuilder; 72 using WTF::StringBuilder;
75 using WTF::StringImpl; 73 using WTF::StringImpl;
76 using WTF::StringView; 74 using WTF::StringView;
77 using WTF::Uint8Array; 75 using WTF::Uint8Array;
78 using WTF::Uint8ClampedArray; 76 using WTF::Uint8ClampedArray;
79 using WTF::Uint16Array; 77 using WTF::Uint16Array;
80 using WTF::Uint32Array; 78 using WTF::Uint32Array;
81 79
82 #endif // WTF_Forward_h 80 #endif // WTF_Forward_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698