1 // Copyright 2021 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_BACK_FORWARD_CACHE_BACK_FORWARD_CACHE_DISABLE_H_
6 #define COMPONENTS_BACK_FORWARD_CACHE_BACK_FORWARD_CACHE_DISABLE_H_
8 #include "components/back_forward_cache/disabled_reason_id.h"
9 #include "content/public/browser/back_forward_cache.h"
10 #include "content/public/browser/global_routing_id.h"
12 namespace back_forward_cache {
13 // Constructs a chrome-specific DisabledReason
14 content::BackForwardCache::DisabledReason DisabledReason(
15 DisabledReasonId reason_id,
16 const std::string& context = "");
17 } // namespace back_forward_cache
19 #endif // COMPONENTS_BACK_FORWARD_CACHE_BACK_FORWARD_CACHE_DISABLE_H_