Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 1 | // 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-Jones | 5c9f94e | 2019-10-24 13:55:06 | [diff] [blame] | 8 | #include "base/callback.h" |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 9 | #include "base/feature_list.h" |
| 10 | |
| 11 | namespace flags { |
| 12 | |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 13 | bool IsFlagExpired(const char* internal_name); |
| 14 | |
Elly Fong-Jones | 5c9f94e | 2019-10-24 13:55:06 | [diff] [blame] | 15 | namespace testing { |
| 16 | |
| 17 | using FlagPredicate = base::RepeatingCallback<bool(const std::string&)>; |
| 18 | |
| 19 | void SetFlagExpiredPredicate(FlagPredicate predicate); |
| 20 | |
| 21 | } // namespace testing |
| 22 | |
Elly Fong-Jones | 99d8cdad | 2019-08-27 15:48:45 | [diff] [blame] | 23 | } // namespace flags |
| 24 | |
| 25 | #endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_ |