blob: 0225a6ec3ca4aee4f7d57767931047caa278d33b [file] [log] [blame]
// Copyright 2021 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_WEB_APPLICATIONS_TEST_WITH_CROSAPI_PARAM_H_
#define CHROME_BROWSER_WEB_APPLICATIONS_TEST_WITH_CROSAPI_PARAM_H_
#include <string>
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_app {
namespace test {
enum class CrosapiParam {
kDisabled = 0,
kEnabled = 1,
};
class WithCrosapiParam : public testing::WithParamInterface<CrosapiParam> {
public:
WithCrosapiParam();
~WithCrosapiParam() override;
static std::string ParamToString(testing::TestParamInfo<CrosapiParam> param);
private:
base::test::ScopedFeatureList scoped_feature_list_;
};
} // namespace test
} // namespace web_app
#endif // CHROME_BROWSER_WEB_APPLICATIONS_TEST_WITH_CROSAPI_PARAM_H_