summaryrefslogtreecommitdiffstats
path: root/base/string_piece.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/string_piece.h')
-rw-r--r--base/string_piece.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/string_piece.h b/base/string_piece.h
index fe10806..47d4968 100644
--- a/base/string_piece.h
+++ b/base/string_piece.h
@@ -24,6 +24,8 @@
#include "base/basictypes.h"
+namespace base {
+
class StringPiece {
public:
typedef size_t size_type;
@@ -181,4 +183,6 @@ inline bool operator>=(const StringPiece& x, const StringPiece& y) {
// allow StringPiece to be logged (needed for unit testing).
extern std::ostream& operator<<(std::ostream& o, const StringPiece& piece);
+} // namespace base
+
#endif // BASE_STRING_PIECE_H_