blob: 745851900a20e7777120d3f5981c7aec5c37193d [file] [log] [blame]
// Copyright (c) 2011 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 BASE_STRINGS_UTF_STRING_CONVERSIONS_H_
#define BASE_STRINGS_UTF_STRING_CONVERSIONS_H_
#include <stddef.h>
#include <string>
#include "base/strings/string16.h"
#include "base/strings/string_piece.h"
#define BASE_EXPORT
namespace url {
namespace base {
BASE_EXPORT string16 WideToUTF16(const std::wstring& wide);
BASE_EXPORT string16 UTF8ToUTF16(StringPiece utf8);
BASE_EXPORT std::string UTF16ToUTF8(StringPiece16 utf16);
} // namespace base
} // namespace url
#endif // BASE_STRINGS_UTF_STRING_CONVERSIONS_H_