chromium/content/public/browser/navigation_discard_reason.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 CONTENT_PUBLIC_BROWSER_NAVIGATION_DISCARD_REASON_H_
#define CONTENT_PUBLIC_BROWSER_NAVIGATION_DISCARD_REASON_H_

namespace content {
// Used to annotate the reason for calling into methods that delete speculative
// RenderFrameHosts or ongoing NavigationRequests. Purely informational for now,
// but in the future, intended to serve as a signal for how a caller of the
// functions should handle cases when the speculative RenderFrameHost cannot be
// promptly discarded. See https://crbug.com/1220337 for more info.
enum class NavigationDiscardReason {};

} // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_NAVIGATION_DISCARD_REASON_H_