// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_OVERLAYS_UI_BUNDLED_TEST_TEST_OVERLAY_PRESENTATION_CONTEXT_H_
#define IOS_CHROME_BROWSER_OVERLAYS_UI_BUNDLED_TEST_TEST_OVERLAY_PRESENTATION_CONTEXT_H_
#import "ios/chrome/browser/overlays/ui_bundled/overlay_presentation_context_impl.h"
// OverlayPresentationContextImpl for OverlayModality::kTesting.
// TODO(crbug.com/40120484): This class is only necessary to prevent the test
// modality code from getting compiled into releases, and can be removed once
// OverlayModality is converted from an enum to a class.
class TestOverlayPresentationContext : public OverlayPresentationContextImpl {
public:
explicit TestOverlayPresentationContext(Browser* browser);
~TestOverlayPresentationContext() override;
};
#endif // IOS_CHROME_BROWSER_OVERLAYS_UI_BUNDLED_TEST_TEST_OVERLAY_PRESENTATION_CONTEXT_H_