1 // Copyright 2019 The Chromium Authors
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/feature_list.h"
9 #include "base/functional/callback.h"
13 } // namespace flags_ui
17 bool IsFlagExpired(const flags_ui::FlagsStorage* storage,
18 const char* internal_name);
22 // Overrides the expiration milestone for a named flag. Useful for tests that
23 // need to expire a flag that doesn't normally appear in the generated
25 void SetFlagExpiration(const std::string& name, int mstone);
27 } // namespace testing
31 #endif // CHROME_BROWSER_UNEXPIRE_FLAGS_H_