chromium/chrome/browser/ui/webui/top_chrome/webui_contents_warmup_level.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_WEBUI_TOP_CHROME_WEBUI_CONTENTS_WARMUP_LEVEL_H_
#define CHROME_BROWSER_UI_WEBUI_TOP_CHROME_WEBUI_CONTENTS_WARMUP_LEVEL_H_

#include <string>

// The readiness levels of the browser prior to showing a new WebUI bubble,
// ordered by increasing readiness. Higher levels have lower latency at the cost
// of greater memory use.
enum class WebUIContentsWarmupLevel {};

std::string ToString(WebUIContentsWarmupLevel warmup_level);

#endif  // CHROME_BROWSER_UI_WEBUI_TOP_CHROME_WEBUI_CONTENTS_WARMUP_LEVEL_H_