| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009 Apple 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 | 163 |
| 164 void clearScript() { m_script.clear(); } | 164 void clearScript() { m_script.clear(); } |
| 165 void clearInspector(); | 165 void clearInspector(); |
| 166 | 166 |
| 167 static void removeURLFromMemoryCacheInternal(const KURL&); | 167 static void removeURLFromMemoryCacheInternal(const KURL&); |
| 168 | 168 |
| 169 KURL m_url; | 169 KURL m_url; |
| 170 String m_userAgent; | 170 String m_userAgent; |
| 171 V8CacheOptions m_v8CacheOptions; | 171 V8CacheOptions m_v8CacheOptions; |
| 172 | 172 |
| 173 mutable RefPtrWillBeMember<WorkerConsole> m_console; | 173 mutable PersistentWillBeMember<WorkerConsole> m_console; |
| 174 mutable PersistentWillBeMember<WorkerLocation> m_location; | 174 mutable PersistentWillBeMember<WorkerLocation> m_location; |
| 175 mutable PersistentWillBeMember<WorkerNavigator> m_navigator; | 175 mutable PersistentWillBeMember<WorkerNavigator> m_navigator; |
| 176 | 176 |
| 177 mutable UseCounter::CountBits m_deprecationWarningBits; | 177 mutable UseCounter::CountBits m_deprecationWarningBits; |
| 178 | 178 |
| 179 OwnPtr<WorkerScriptController> m_script; | 179 OwnPtr<WorkerScriptController> m_script; |
| 180 WorkerThread* m_thread; | 180 WorkerThread* m_thread; |
| 181 | 181 |
| 182 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController; | 182 RefPtrWillBeMember<WorkerInspectorController> m_workerInspectorController; |
| 183 bool m_closing; | 183 bool m_closing; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 194 | 194 |
| 195 unsigned long m_workerExceptionUniqueIdentifier; | 195 unsigned long m_workerExceptionUniqueIdentifier; |
| 196 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi
ngMessages; | 196 WillBeHeapHashMap<unsigned long, RefPtrWillBeMember<ConsoleMessage>> m_pendi
ngMessages; |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); | 199 DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorke
rGlobalScope(), context.isWorkerGlobalScope()); |
| 200 | 200 |
| 201 } // namespace blink | 201 } // namespace blink |
| 202 | 202 |
| 203 #endif // WorkerGlobalScope_h | 203 #endif // WorkerGlobalScope_h |
| OLD | NEW |