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
Esse commit está contido em:
deanm@chromium.org
2008-11-08 23:16:31 +00:00
commit bfcb9a56a2
3 arquivos alterados com 3 adições e 6 exclusões
-1
Ver Arquivo
@@ -213,4 +213,3 @@ StringPiece StringPiece::substr(size_type pos, size_type n) const {
}
const StringPiece::size_type StringPiece::npos = size_type(-1);
+3 -4
Ver Arquivo
@@ -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_
-1
Ver Arquivo
@@ -538,4 +538,3 @@ TEST(StringPieceTest, HeterogenousStringPieceEquals) {
ASSERT_TRUE(StringPiece("hello") == std::string("hello"));
ASSERT_TRUE("hello" == StringPiece("hello"));
}