// Copyright 2017 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_BROWSER_LAZY_CONTEXT_TASK_QUEUE_H_ #define EXTENSIONS_BROWSER_LAZY_CONTEXT_TASK_QUEUE_H_ #include "base/functional/callback.h" #include "base/memory/raw_ptr_exclusion.h" #include "extensions/common/extension_id.h" #include "url/gurl.h" namespace content { class BrowserContext; class RenderProcessHost; class WebContents; } // namespace content namespace extensions { class Extension; class ExtensionHost; class LazyContextId; // Interface for performing tasks after loading lazy contexts of an extension. // // Lazy contexts are non-persistent, so they can unload any time and this // interface exposes an async mechanism to perform tasks after loading the // context. class LazyContextTaskQueue { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_LAZY_CONTEXT_TASK_QUEUE_H_