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.
5 #ifndef CHROME_BROWSER_UNEXPIRE_FLAGS_H_
6 #define CHROME_BROWSER_UNEXPIRE_FLAGS_H_
8 #include "base/callback.h"
9 #include "base/feature_list.h"
13 bool IsFlagExpired(const char* internal_name);
17 using FlagPredicate = base::RepeatingCallback<bool(const std::string&)>;
19 void SetFlagExpiredPredicate(FlagPredicate predicate);
21 } // namespace testing
25 #endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_