blob: b776e654172e5d9e388e9a1f8de9ec0842e60b7e [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
Elly Fong-Jones11c628ce2020-07-23 17:04:0117// Overrides the expiration milestone for a named flag. Useful for tests that
18// need to expire a flag that doesn't normally appear in the generated
19// expiration table.
20void SetFlagExpiration(const std::string& name, int mstone);
Elly Fong-Jones5c9f94e2019-10-24 13:55:0621
22} // namespace testing
23
Elly Fong-Jones99d8cdad2019-08-27 15:48:4524} // namespace flags
25
26#endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_