blob: 9138f3f61e8680817e6702f2e2537cead4294292 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This header is deprecated. `gurl_base::StringPiece` is now `std::string_view`.
// Use it and <string_view> instead.
// TODO( Remove uses of this header.
#include <string_view>
namespace gurl_base {
template <typename CharT, typename Traits = std::char_traits<CharT>>
using BasicStringPiece = std::basic_string_view<CharT, Traits>;
using StringPiece = std::string_view;
using StringPiece16 = std::u16string_view;
using WStringPiece = std::wstring_view;
} // namespace base