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

Side by Side Diff: Source/core/dom/CrossThreadTask.h

Issue 19010006: core/dom: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rm extra blank line Created 7 years, 5 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
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/DOMError.cpp » ('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-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 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef CrossThreadTask_h 31 #ifndef CrossThreadTask_h
32 #define CrossThreadTask_h 32 #define CrossThreadTask_h
33 33
34 #include <memory> 34 #include <memory>
35 #include "core/dom/ScriptExecutionContext.h" 35 #include "core/dom/ScriptExecutionContext.h"
36 #include "core/platform/CrossThreadCopier.h" 36 #include "core/platform/CrossThreadCopier.h"
37 #include <wtf/PassOwnPtr.h> 37 #include "wtf/PassOwnPtr.h"
38 #include <wtf/PassRefPtr.h> 38 #include "wtf/PassRefPtr.h"
39 #include <wtf/TypeTraits.h> 39 #include "wtf/TypeTraits.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 // Traits for the CrossThreadTask. 43 // Traits for the CrossThreadTask.
44 template<typename T> struct CrossThreadTaskTraits { 44 template<typename T> struct CrossThreadTaskTraits {
45 typedef const T& ParamType; 45 typedef const T& ParamType;
46 }; 46 };
47 47
48 template<typename T> struct CrossThreadTaskTraits<T*> { 48 template<typename T> struct CrossThreadTaskTraits<T*> {
49 typedef T* ParamType; 49 typedef T* ParamType;
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 method, 468 method,
469 CrossThreadCopier<P1>::co py(parameter1), CrossThreadCopier<P2>::copy(parameter2), 469 CrossThreadCopier<P1>::co py(parameter1), CrossThreadCopier<P2>::copy(parameter2),
470 CrossThreadCopier<P3>::co py(parameter3), CrossThreadCopier<P4>::copy(parameter4), 470 CrossThreadCopier<P3>::co py(parameter3), CrossThreadCopier<P4>::copy(parameter4),
471 CrossThreadCopier<P5>::co py(parameter5), CrossThreadCopier<P6>::copy(parameter6), 471 CrossThreadCopier<P5>::co py(parameter5), CrossThreadCopier<P6>::copy(parameter6),
472 CrossThreadCopier<P7>::co py(parameter7), CrossThreadCopier<P8>::copy(parameter8)); 472 CrossThreadCopier<P7>::co py(parameter7), CrossThreadCopier<P8>::copy(parameter8));
473 } 473 }
474 474
475 } // namespace WebCore 475 } // namespace WebCore
476 476
477 #endif // CrossThreadTask_h 477 #endif // CrossThreadTask_h
OLDNEW
« no previous file with comments | « Source/core/dom/ContainerNode.h ('k') | Source/core/dom/DOMError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698