tests: Fix SchemeHandlerTest failure with ReduceAcceptLanguage trial

This commit is contained in:
Marshall Greenblatt
2024-05-23 15:39:07 -04:00
parent 701fc03f00
commit bd1e188c77
8 changed files with 91 additions and 9 deletions

View File

@ -67,4 +67,12 @@ void CefExecuteJavaScriptWithUserGestureForTests(CefRefPtr<CefFrame> frame,
/*--cef()--*/
void CefSetDataDirectoryForTests(const CefString& dir);
///
/// Returns true if |feature_name| is enabled by default, command line or field
/// trial. This supports a short list of curated values that are queried by unit
/// tests.
///
/*--cef()--*/
bool CefIsFeatureEnabledForTests(const CefString& feature_name);
#endif // CEF_INCLUDE_TEST_CEF_TEST_HELPERS_H_