diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-08 23:16:31 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-08 23:16:31 +0000 |
commit | baa010b1e95fa47097f4bb34ea178bdfe2d98325 (patch) | |
tree | 350ce173bba58192df2e1af600fc644cb3f9aaf0 /base | |
parent | 8f7b2f6b5f2d168cffb2e09e5b6adc1c1d1b6ed8 (diff) | |
download | chromium_src-baa010b1e95fa47097f4bb34ea178bdfe2d98325.zip chromium_src-baa010b1e95fa47097f4bb34ea178bdfe2d98325.tar.gz chromium_src-baa010b1e95fa47097f4bb34ea178bdfe2d98325.tar.bz2 |
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
Diffstat (limited to 'base')
-rw-r--r-- | base/string_piece.cc | 1 | ||||
-rw-r--r-- | base/string_piece.h | 7 | ||||
-rw-r--r-- | base/string_piece_unittest.cc | 1 |
3 files changed, 3 insertions, 6 deletions
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 <algorithm> #include <iosfwd> @@ -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")); } - |