OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 26 matching lines...) Expand all Loading... |
37 #include "platform/heap/ThreadingTraits.h" | 37 #include "platform/heap/ThreadingTraits.h" |
38 #include "public/platform/WebThread.h" | 38 #include "public/platform/WebThread.h" |
39 #include "wtf/AddressSanitizer.h" | 39 #include "wtf/AddressSanitizer.h" |
40 #include "wtf/Forward.h" | 40 #include "wtf/Forward.h" |
41 #include "wtf/HashMap.h" | 41 #include "wtf/HashMap.h" |
42 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
43 #include "wtf/PassOwnPtr.h" | 43 #include "wtf/PassOwnPtr.h" |
44 #include "wtf/ThreadSpecific.h" | 44 #include "wtf/ThreadSpecific.h" |
45 #include "wtf/Threading.h" | 45 #include "wtf/Threading.h" |
46 #include "wtf/ThreadingPrimitives.h" | 46 #include "wtf/ThreadingPrimitives.h" |
47 #include "wtf/text/WTFString.h" | |
48 | 47 |
49 namespace v8 { | 48 namespace v8 { |
50 class Isolate; | 49 class Isolate; |
51 }; | 50 }; |
52 | 51 |
53 namespace blink { | 52 namespace blink { |
54 | 53 |
55 class BasePage; | 54 class BasePage; |
56 class CallbackStack; | 55 class CallbackStack; |
57 class CrossThreadPersistentRegion; | 56 class CrossThreadPersistentRegion; |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 }; | 673 }; |
675 | 674 |
676 template<> class ThreadStateFor<AnyThread> { | 675 template<> class ThreadStateFor<AnyThread> { |
677 public: | 676 public: |
678 static ThreadState* state() { return ThreadState::current(); } | 677 static ThreadState* state() { return ThreadState::current(); } |
679 }; | 678 }; |
680 | 679 |
681 } // namespace blink | 680 } // namespace blink |
682 | 681 |
683 #endif // ThreadState_h | 682 #endif // ThreadState_h |
OLD | NEW |