blob: 30a3f49b86bf284b64d7713eb6ae3b3db6585ac1 [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
Elly Fong-Jones99d8cdad2019-08-27 15:48:4513bool IsFlagExpired(const char* internal_name);
14
Elly Fong-Jones5c9f94e2019-10-24 13:55:0615namespace testing {
16
17using FlagPredicate = base::RepeatingCallback<bool(const std::string&)>;
18
19void SetFlagExpiredPredicate(FlagPredicate predicate);
20
21} // namespace testing
22
Elly Fong-Jones99d8cdad2019-08-27 15:48:4523} // namespace flags
24
25#endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_