OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2012 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 20 matching lines...) Expand all Loading... |
31 #ifndef WorkerScriptController_h | 31 #ifndef WorkerScriptController_h |
32 #define WorkerScriptController_h | 32 #define WorkerScriptController_h |
33 | 33 |
34 #include "bindings/core/v8/ScriptValue.h" | 34 #include "bindings/core/v8/ScriptValue.h" |
35 #include "bindings/core/v8/V8Binding.h" | 35 #include "bindings/core/v8/V8Binding.h" |
36 #include "wtf/OwnPtr.h" | 36 #include "wtf/OwnPtr.h" |
37 #include "wtf/ThreadingPrimitives.h" | 37 #include "wtf/ThreadingPrimitives.h" |
38 #include "wtf/text/TextPosition.h" | 38 #include "wtf/text/TextPosition.h" |
39 #include <v8.h> | 39 #include <v8.h> |
40 | 40 |
41 namespace WebCore { | 41 namespace blink { |
42 | 42 |
43 class ErrorEvent; | 43 class ErrorEvent; |
44 class ExceptionState; | 44 class ExceptionState; |
45 class ScriptSourceCode; | 45 class ScriptSourceCode; |
46 class ScriptValue; | 46 class ScriptValue; |
47 class WorkerGlobalScope; | 47 class WorkerGlobalScope; |
48 class WorkerGlobalScopeExecutionState; | 48 class WorkerGlobalScopeExecutionState; |
49 | 49 |
50 class WorkerScriptController { | 50 class WorkerScriptController { |
51 public: | 51 public: |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // that evaluate() allocates; evaluate() ensuring that the | 105 // that evaluate() allocates; evaluate() ensuring that the |
106 // pointer reference to it is removed upon returning. Hence | 106 // pointer reference to it is removed upon returning. Hence |
107 // kept as a bare pointer here, and not a Persistent with | 107 // kept as a bare pointer here, and not a Persistent with |
108 // Oilpan enabled; stack scanning will visit the object and | 108 // Oilpan enabled; stack scanning will visit the object and |
109 // trace its on-heap fields. | 109 // trace its on-heap fields. |
110 GC_PLUGIN_IGNORE("394615") | 110 GC_PLUGIN_IGNORE("394615") |
111 WorkerGlobalScopeExecutionState* m_globalScopeExecutionState; | 111 WorkerGlobalScopeExecutionState* m_globalScopeExecutionState; |
112 OwnPtr<V8IsolateInterruptor> m_interruptor; | 112 OwnPtr<V8IsolateInterruptor> m_interruptor; |
113 }; | 113 }; |
114 | 114 |
115 } // namespace WebCore | 115 } // namespace blink |
116 | 116 |
117 #endif // WorkerScriptController_h | 117 #endif // WorkerScriptController_h |
OLD | NEW |