1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ash / wm / window_restore / informed_restore_test_base.h [blame]
// 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 ASH_WM_WINDOW_RESTORE_INFORMED_RESTORE_TEST_BASE_H_
#define ASH_WM_WINDOW_RESTORE_INFORMED_RESTORE_TEST_BASE_H_
#include "ash/constants/ash_features.h"
#include "ash/test/ash_test_base.h"
#include "base/test/scoped_feature_list.h"
namespace ash {
class InformedRestoreTestBase : public AshTestBase {
public:
InformedRestoreTestBase();
InformedRestoreTestBase(const InformedRestoreTestBase&) = delete;
InformedRestoreTestBase& operator=(const InformedRestoreTestBase&) = delete;
~InformedRestoreTestBase() override;
PrefService* GetTestPrefService();
// AshTestBase:
void SetUp() override;
private:
base::test::ScopedFeatureList scoped_feature_list_{features::kForestFeature};
};
} // namespace ash
#endif // ASH_WM_WINDOW_RESTORE_INFORMED_RESTORE_TEST_BASE_H_