1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Forward declaration of StringPiece types from base/strings/string_piece.h
6 
7 #ifndef BASE_STRINGS_STRING_PIECE_FORWARD_H_
8 #define BASE_STRINGS_STRING_PIECE_FORWARD_H_
9 
10 #include <string>
11 
12 #include "base/strings/string16.h"
13 
14 namespace base {
15 
16 template <typename STRING_TYPE>
17 class BasicStringPiece;
18 typedef BasicStringPiece<std::string> StringPiece;
19 typedef BasicStringPiece<string16> StringPiece16;
20 typedef BasicStringPiece<std::wstring> WStringPiece;
21 
22 }  // namespace base
23 
24 #endif  // BASE_STRINGS_STRING_PIECE_FORWARD_H_
25