diff options
author | thomasvl@google.com <thomasvl@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 11:47:51 +0000 |
---|---|---|
committer | thomasvl@google.com <thomasvl@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-02 11:47:51 +0000 |
commit | 9eea71c4710393b3bed637382b3f82ec5eb60d2e (patch) | |
tree | 607f3a70a731e7c3e935ecde41986a9d5379ae68 /ipc/ipc_sync_channel_unittest.cc | |
parent | 61399a2487f8dcc88f987b2b5d4f2431a29cb8be (diff) | |
download | chromium_src-9eea71c4710393b3bed637382b3f82ec5eb60d2e.zip chromium_src-9eea71c4710393b3bed637382b3f82ec5eb60d2e.tar.gz chromium_src-9eea71c4710393b3bed637382b3f82ec5eb60d2e.tar.bz2 |
Up the warnings in ipc
- add chromium_code:1 to the GYP file
- Fix some unittest compares of literal 0 to apis that return size_t
- initializer order match declared order
- type_id is a uint32, so fix up comparison warnings by using the right type in the test code.
BUG=none
TEST=everything still builds/works
Review URL: http://codereview.chromium.org/2863034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel_unittest.cc')
-rw-r--r-- | ipc/ipc_sync_channel_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc index 2566f9b..ae9ae66 100644 --- a/ipc/ipc_sync_channel_unittest.cc +++ b/ipc/ipc_sync_channel_unittest.cc @@ -727,8 +727,8 @@ class QueuedReplyClient : public Worker { const std::string& expected_text, bool pump_during_send) : Worker(channel_name, Channel::MODE_CLIENT), - expected_text_(expected_text), - pump_during_send_(pump_during_send) { + pump_during_send_(pump_during_send), + expected_text_(expected_text) { Worker::OverrideThread(listener_thread); } |