| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 class ActiveScriptWrappableBase; | 46 class ActiveScriptWrappableBase; |
| 47 class DOMDataStore; | 47 class DOMDataStore; |
| 48 class StringCache; | 48 class StringCache; |
| 49 class V8PrivateProperty; | 49 class V8PrivateProperty; |
| 50 class WebTaskRunner; | 50 class WebTaskRunner; |
| 51 struct WrapperTypeInfo; | 51 struct WrapperTypeInfo; |
| 52 | 52 |
| 53 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; | 53 typedef WTF::Vector<DOMDataStore*> DOMDataStoreList; |
| 54 | 54 |
| 55 // Used to hold data that is associated with a single v8::Isolate object, and |
| 56 // has a 1:1 relationship with v8::Isolate. |
| 55 class PLATFORM_EXPORT V8PerIsolateData { | 57 class PLATFORM_EXPORT V8PerIsolateData { |
| 56 USING_FAST_MALLOC(V8PerIsolateData); | 58 USING_FAST_MALLOC(V8PerIsolateData); |
| 57 WTF_MAKE_NONCOPYABLE(V8PerIsolateData); | 59 WTF_MAKE_NONCOPYABLE(V8PerIsolateData); |
| 58 | 60 |
| 59 public: | 61 public: |
| 60 class EndOfScopeTask { | 62 class EndOfScopeTask { |
| 61 USING_FAST_MALLOC(EndOfScopeTask); | 63 USING_FAST_MALLOC(EndOfScopeTask); |
| 62 | 64 |
| 63 public: | 65 public: |
| 64 virtual ~EndOfScopeTask() {} | 66 virtual ~EndOfScopeTask() {} |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 Vector<std::unique_ptr<EndOfScopeTask>> end_of_scope_tasks_; | 268 Vector<std::unique_ptr<EndOfScopeTask>> end_of_scope_tasks_; |
| 267 std::unique_ptr<Data> thread_debugger_; | 269 std::unique_ptr<Data> thread_debugger_; |
| 268 | 270 |
| 269 Persistent<ActiveScriptWrappableSet> active_script_wrappables_; | 271 Persistent<ActiveScriptWrappableSet> active_script_wrappables_; |
| 270 std::unique_ptr<ScriptWrappableVisitor> script_wrappable_visitor_; | 272 std::unique_ptr<ScriptWrappableVisitor> script_wrappable_visitor_; |
| 271 }; | 273 }; |
| 272 | 274 |
| 273 } // namespace blink | 275 } // namespace blink |
| 274 | 276 |
| 275 #endif // V8PerIsolateData_h | 277 #endif // V8PerIsolateData_h |
| OLD | NEW |