#include "content/browser/code_cache/generated_code_cache_context.h"
#include <memory>
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/metrics/histogram_macros.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/thread_pool.h"
#include "content/browser/code_cache/generated_code_cache.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/content_features.h"
namespace content {
void GeneratedCodeCacheContext::RunOrPostTask(
scoped_refptr<GeneratedCodeCacheContext> context,
const base::Location& location,
base::OnceClosure task) { … }
scoped_refptr<base::SequencedTaskRunner>
GeneratedCodeCacheContext::GetTaskRunner(
scoped_refptr<GeneratedCodeCacheContext> context) { … }
GeneratedCodeCacheContext::GeneratedCodeCacheContext() { … }
void GeneratedCodeCacheContext::Initialize(const base::FilePath& path,
int max_bytes) { … }
void GeneratedCodeCacheContext::InitializeOnThread(const base::FilePath& path,
int max_bytes) { … }
void GeneratedCodeCacheContext::Shutdown() { … }
void GeneratedCodeCacheContext::ShutdownOnThread() { … }
GeneratedCodeCache* GeneratedCodeCacheContext::generated_js_code_cache() const { … }
GeneratedCodeCache* GeneratedCodeCacheContext::generated_wasm_code_cache()
const { … }
GeneratedCodeCache* GeneratedCodeCacheContext::generated_webui_js_code_cache()
const { … }
GeneratedCodeCacheContext::~GeneratedCodeCacheContext() = default;
}