// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/i18n/character_encoding.h" #include "third_party/icu/source/common/unicode/ucnv.h" namespace base { namespace { // An array of all supported canonical encoding names. const char* const kCanonicalEncodingNames[] = …; } // namespace std::string GetCanonicalEncodingNameByAliasName(const std::string& alias_name) { … } } // namespace base