summaryrefslogtreecommitdiff
path: root/chromium/components/app_restore/features.cc
blob: 3422f3806e51fbc2c4219c92e6123154e7514a2b (plain)
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
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/app_restore/features.h"

namespace full_restore {
namespace features {

BASE_FEATURE(kArcWindowPredictor,
             "ArcWindowPredictor",
             base::FEATURE_DISABLED_BY_DEFAULT);

BASE_FEATURE(kFullRestoreForLacros,
             "FullRestoreForLacros",
             base::FEATURE_ENABLED_BY_DEFAULT);

bool IsArcWindowPredictorEnabled() {
  return base::FeatureList::IsEnabled(kArcWindowPredictor);
}

bool IsFullRestoreForLacrosEnabled() {
  return base::FeatureList::IsEnabled(kFullRestoreForLacros);
}

}  // namespace features
}  // namespace full_restore