blob: 37895f037a334db3273aeda7b5033de530ba5af4 [file] [log] [blame]
Elly Fong-Jones99d8cdad2019-08-27 15:48:451// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CHROME_BROWSER_UNEXPIRE_FLAGS_H_
6#define CHROME_BROWSER_UNEXPIRE_FLAGS_H_
7
Elly Fong-Jones5c9f94e2019-10-24 13:55:068#include "base/callback.h"
Elly Fong-Jones99d8cdad2019-08-27 15:48:459#include "base/feature_list.h"
10
11namespace flags {
12
13extern const base::Feature kUnexpireFlagsM76;
14
15bool IsFlagExpired(const char* internal_name);
16
Elly Fong-Jones5c9f94e2019-10-24 13:55:0617namespace testing {
18
19using FlagPredicate = base::RepeatingCallback<bool(const std::string&)>;
20
21void SetFlagExpiredPredicate(FlagPredicate predicate);
22
23} // namespace testing
24
Elly Fong-Jones99d8cdad2019-08-27 15:48:4525} // namespace flags
26
27#endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_