// 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. `base::StringPiece` is now `std::string_view`. // Use it and instead. // // TODO(crbug.com/691162): Remove uses of this header. #ifndef BASE_STRINGS_STRING_PIECE_FORWARD_H_ #define BASE_STRINGS_STRING_PIECE_FORWARD_H_ #include namespace base { template > using BasicStringPiece = std::basic_string_view; using StringPiece = std::string_view; using StringPiece16 = std::u16string_view; using WStringPiece = std::wstring_view; } // namespace base #endif // BASE_STRINGS_STRING_PIECE_FORWARD_H_