Lines Matching refs:ContextId
183 class ContextId {
185 ContextId() : id_(kEmptyId) {}
188 static const ContextId Empty() { return ContextId{kEmptyId}; }
190 bool operator==(const ContextId& other) const { return id_ == other.id_; }
191 bool operator!=(const ContextId& other) const { return id_ != other.id_; }
197 explicit ContextId(uintptr_t id) : id_(id) {}
206 virtual void AddMainThreadEvent(const E& event, ContextId context_id) {}
219 static MaybeLocal<Context> GetContext(Isolate* isolate, ContextId id);
221 static ContextId GetContextId(Local<Context> context);