// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_RENDERER_WORKER_SCRIPT_CONTEXT_SET_H_ #define EXTENSIONS_RENDERER_WORKER_SCRIPT_CONTEXT_SET_H_ #include <memory> #include <string> #include "content/public/renderer/worker_thread.h" #include "extensions/renderer/script_context_set_iterable.h" #include "url/gurl.h" #include "v8/include/v8-forward.h" namespace extensions { class ScriptContext; // A set of ScriptContexts owned by worker threads. Thread safe. // There should only be a single instance of this class, owned by the // Dispatcher. class WorkerScriptContextSet : public ScriptContextSetIterable, public content::WorkerThread::Observer { … }; } // namespace extensions #endif // EXTENSIONS_RENDERER_WORKER_SCRIPT_CONTEXT_SET_H_