OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
36 #include "wtf/Assertions.h" | 36 #include "wtf/Assertions.h" |
37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
39 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
40 #include "wtf/RawPtr.h" | 40 #include "wtf/RawPtr.h" |
41 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
42 #include "wtf/ThreadSafeRefCounted.h" | 42 #include "wtf/ThreadSafeRefCounted.h" |
43 #include "wtf/TypeTraits.h" | 43 #include "wtf/TypeTraits.h" |
44 | 44 |
45 namespace WebCore { | 45 namespace blink { |
46 | 46 |
47 class IntRect; | 47 class IntRect; |
48 class IntSize; | 48 class IntSize; |
49 class KURL; | 49 class KURL; |
50 class ResourceError; | 50 class ResourceError; |
51 class ResourceRequest; | 51 class ResourceRequest; |
52 class ResourceResponse; | 52 class ResourceResponse; |
53 struct CrossThreadResourceResponseData; | 53 struct CrossThreadResourceResponseData; |
54 struct CrossThreadResourceRequestData; | 54 struct CrossThreadResourceRequestData; |
55 struct ThreadableLoaderOptions; | 55 struct ThreadableLoaderOptions; |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 typedef T* Type; | 219 typedef T* Type; |
220 static Type copy(const AllowAccessLaterWrapper<T>& wrapper) { return wra
pper.value(); } | 220 static Type copy(const AllowAccessLaterWrapper<T>& wrapper) { return wra
pper.value(); } |
221 }; | 221 }; |
222 | 222 |
223 template<typename T> AllowAccessLaterWrapper<T> AllowAccessLater(T* value) | 223 template<typename T> AllowAccessLaterWrapper<T> AllowAccessLater(T* value) |
224 { | 224 { |
225 return AllowAccessLaterWrapper<T>(value); | 225 return AllowAccessLaterWrapper<T>(value); |
226 } | 226 } |
227 | 227 |
228 | 228 |
229 } // namespace WebCore | 229 } // namespace blink |
230 | 230 |
231 #endif // CrossThreadCopier_h | 231 #endif // CrossThreadCopier_h |
OLD | NEW |