From baa010b1e95fa47097f4bb34ea178bdfe2d98325 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Sat, 8 Nov 2008 23:16:31 +0000 Subject: NO CODE CHANGE. Update string_piece.h to new include style, and remove Ben's trailing whitespace. Really just want a buildbot run :\ Review URL: http://codereview.chromium.org/9730 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5075 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string_piece.cc | 1 - base/string_piece.h | 7 +++---- base/string_piece_unittest.cc | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'base') diff --git a/base/string_piece.cc b/base/string_piece.cc index b9dbea1..1acb0cb 100644 --- a/base/string_piece.cc +++ b/base/string_piece.cc @@ -213,4 +213,3 @@ StringPiece StringPiece::substr(size_type pos, size_type n) const { } const StringPiece::size_type StringPiece::npos = size_type(-1); - diff --git a/base/string_piece.h b/base/string_piece.h index 4575fda..fe10806 100644 --- a/base/string_piece.h +++ b/base/string_piece.h @@ -15,8 +15,8 @@ // conversions from "const char*" to "string" and back again. // -#ifndef BASE_STRING_PIECE_H__ -#define BASE_STRING_PIECE_H__ +#ifndef BASE_STRING_PIECE_H_ +#define BASE_STRING_PIECE_H_ #include #include @@ -181,5 +181,4 @@ 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); -#endif // BASE_STRING_PIECE_H__ - +#endif // BASE_STRING_PIECE_H_ diff --git a/base/string_piece_unittest.cc b/base/string_piece_unittest.cc index e7015c6..ff62d46 100644 --- a/base/string_piece_unittest.cc +++ b/base/string_piece_unittest.cc @@ -538,4 +538,3 @@ TEST(StringPieceTest, HeterogenousStringPieceEquals) { ASSERT_TRUE(StringPiece("hello") == std::string("hello")); ASSERT_TRUE("hello" == StringPiece("hello")); } - -- cgit v1.1