[go: nahoru, domu]

blob: 4f0e1d75606afa2c56626279c0d4b0742bdb7cfb [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_EXO_MIME_UTILS_H_
#define COMPONENTS_EXO_MIME_UTILS_H_
#include <string>
namespace exo {
// Takes a text/* mime type and returns the name of the character set specified
// in the type. If no character set is specified, defaults to US-ASCII.
std::string GetCharset(const std::string& mime_type);
} // namespace exo
#endif // COMPONENTS_EXO_MIME_UTILS_H_