#include "components/offline_pages/core/request_header/offline_page_header.h"
#include "base/base64.h"
#include "base/test/scoped_feature_list.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/url_features.h"
namespace offline_pages {
namespace {
std::string Base64EncodeString(const std::string value) { … }
}
class OfflinePageHeaderTest : public testing::Test { … };
class OfflinePageHeaderParamTest : public OfflinePageHeaderTest,
public ::testing::WithParamInterface<bool> { … };
TEST_P(OfflinePageHeaderParamTest, Parse) { … }
TEST_F(OfflinePageHeaderTest, ToEmptyString) { … }
TEST_P(OfflinePageHeaderParamTest, ToString) { … }
INSTANTIATE_TEST_SUITE_P(…);
}