OLD | NEW |
---|---|
(Empty) | |
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 // Forward declaration of StringPiece types from base/strings/string_piece.h | |
brettw
2017/04/17 22:20:34
Can you put a blank line between the copyright and
alex-ac
2017/04/18 06:34:21
Done.
| |
5 | |
6 #ifndef BASE_STRINGS_STRING_PIECE_FORWARD_H_ | |
7 #define BASE_STRINGS_STRING_PIECE_FORWARD_H_ | |
8 | |
9 #include <string> | |
10 | |
11 #include "base/strings/string16.h" | |
12 | |
13 namespace base { | |
14 | |
15 template <typename STRING_TYPE> | |
16 class BasicStringPiece; | |
17 typedef BasicStringPiece<std::string> StringPiece; | |
18 typedef BasicStringPiece<string16> StringPiece16; | |
19 | |
20 } // namespace base | |
21 | |
22 #endif // BASE_STRINGS_STRING_PIECE_FORWARD_H_ | |
OLD | NEW |