// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "components/captive_portal/core/captive_portal_types.h" #include "base/check_op.h" namespace captive_portal { namespace { const char* const kCaptivePortalResultNames[] = …; static_assert …; } // namespace std::string CaptivePortalResultToString(CaptivePortalResult result) { … } } // namespace captive_portal