blob: a72af4cf65cbd6c14d02533ec7a9c397b177fa66 [file] [log] [blame]
// 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.
// 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;
} // namespace base