// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSING_CONTEXT_GROUP_SWAP_H_ #define CONTENT_BROWSER_RENDERER_HOST_BROWSING_CONTEXT_GROUP_SWAP_H_ #include <optional> #include "content/browser/renderer_host/should_swap_browsing_instance.h" #include "content/common/content_export.h" namespace content { // This enum describes the different type of decisions we can take regarding // swapping browsing context group during a navigation. enum class BrowsingContextGroupSwapType { … }; // This class represents the decision taken regarding a browsing context group // swap. It is created via one of the static members depending on the actual // case. The underlying consequences of that decision can be computed via // simple getters. class CONTENT_EXPORT BrowsingContextGroupSwap { … }; } // namespace content #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSING_CONTEXT_GROUP_SWAP_H_