diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 20:06:18 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-25 20:06:18 +0000 |
commit | c6279e0b88b0ddc5c706e6ec82df6374545f597c (patch) | |
tree | 8276d0a7a9a8daf0e89e9a9503879ed3a8d144be /webkit | |
parent | 3123c37eb13579becf03839f5c07750a235384c0 (diff) | |
download | chromium_src-c6279e0b88b0ddc5c706e6ec82df6374545f597c.zip chromium_src-c6279e0b88b0ddc5c706e6ec82df6374545f597c.tar.gz chromium_src-c6279e0b88b0ddc5c706e6ec82df6374545f597c.tar.bz2 |
Fix GCC bustage (take 2).
TEST=none
BUG=none
TBR=dglazkov
Review URL: http://codereview.chromium.org/149019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19279 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/glue_serialize_unittest.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/webkit/glue/glue_serialize_unittest.cc b/webkit/glue/glue_serialize_unittest.cc index 46cefde..72af3c0 100644 --- a/webkit/glue/glue_serialize_unittest.cc +++ b/webkit/glue/glue_serialize_unittest.cc @@ -22,31 +22,6 @@ using WebKit::WebString; using WebKit::WebUChar; using WebKit::WebVector; -// These exist only to support the gTest assertion macros, and -// shouldn't be used in normal program code. -static std::ostream& operator<<(std::ostream& out, const WebString& str) { - return out << UTF16ToUTF8(str); -} - -static std::ostream& operator<<(std::ostream& out, - const WebHTTPBody::Element& e) { - return out << e.type << ": " << - e.data.size() << - " <" << string(e.data.data() ? e.data.data() : "", e.data.size()) << "> " << - e.filePath; -} - -template<typename T> -static std::ostream& operator<<(std::ostream& out, const WebVector<T>& v) { - for (size_t i = 0; i < v.size(); ++i) - out << "[" << v[i] << "] "; - return out; -} - -static std::ostream& operator<<(std::ostream& out, const WebPoint& pt) { - return out << "(" << pt.x << "," << pt.y << ")"; -} - namespace { class GlueSerializeTest : public testing::Test { public: |