blob: 30a3f49b86bf284b64d7713eb6ae3b3db6585ac1 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UNEXPIRE_FLAGS_H_
#define CHROME_BROWSER_UNEXPIRE_FLAGS_H_
#include "base/callback.h"
#include "base/feature_list.h"
namespace flags {
bool IsFlagExpired(const char* internal_name);
namespace testing {
using FlagPredicate = base::RepeatingCallback<bool(const std::string&)>;
void SetFlagExpiredPredicate(FlagPredicate predicate);
} // namespace testing
} // namespace flags
#endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_