summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_sync_channel_unittest.cc
diff options
context:
space:
mode:
authordilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:25:25 +0000
committerdilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:25:25 +0000
commite7e3803e3935dad91d825df538b3a2de3835d4c6 (patch)
tree1b701b8cb09249c147dec3df3f38a7c4ff025f19 /ipc/ipc_sync_channel_unittest.cc
parent13c4ebf4808f7c20a09f4f64e6831473dffd27a7 (diff)
downloadchromium_src-e7e3803e3935dad91d825df538b3a2de3835d4c6.zip
chromium_src-e7e3803e3935dad91d825df538b3a2de3835d4c6.tar.gz
chromium_src-e7e3803e3935dad91d825df538b3a2de3835d4c6.tar.bz2
Remove explicit keyword from multi-argument (w/o default values) constructors
BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_sync_channel_unittest.cc')
-rw-r--r--ipc/ipc_sync_channel_unittest.cc19
1 files changed, 9 insertions, 10 deletions
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc
index 5256de8b..bdd83eb 100644
--- a/ipc/ipc_sync_channel_unittest.cc
+++ b/ipc/ipc_sync_channel_unittest.cc
@@ -340,7 +340,7 @@ namespace {
class NoHangServer : public Worker {
public:
- explicit NoHangServer(WaitableEvent* got_first_reply, bool pump_during_send)
+ NoHangServer(WaitableEvent* got_first_reply, bool pump_during_send)
: Worker(Channel::MODE_SERVER, "no_hang_server"),
got_first_reply_(got_first_reply),
pump_during_send_(pump_during_send) { }
@@ -475,11 +475,10 @@ namespace {
class RecursiveServer : public Worker {
public:
- explicit RecursiveServer(
- bool expected_send_result, bool pump_first, bool pump_second)
- : Worker(Channel::MODE_SERVER, "recursive_server"),
- expected_send_result_(expected_send_result),
- pump_first_(pump_first), pump_second_(pump_second) { }
+ RecursiveServer(bool expected_send_result, bool pump_first, bool pump_second)
+ : Worker(Channel::MODE_SERVER, "recursive_server"),
+ expected_send_result_(expected_send_result),
+ pump_first_(pump_first), pump_second_(pump_second) {}
void Run() {
SendDouble(pump_first_, expected_send_result_);
Done();
@@ -495,9 +494,9 @@ class RecursiveServer : public Worker {
class RecursiveClient : public Worker {
public:
- explicit RecursiveClient(bool pump_during_send, bool close_channel)
- : Worker(Channel::MODE_CLIENT, "recursive_client"),
- pump_during_send_(pump_during_send), close_channel_(close_channel) { }
+ RecursiveClient(bool pump_during_send, bool close_channel)
+ : Worker(Channel::MODE_CLIENT, "recursive_client"),
+ pump_during_send_(pump_during_send), close_channel_(close_channel) {}
void OnDoubleDelay(int in, Message* reply_msg) {
SendDouble(pump_during_send_, !close_channel_);
@@ -959,7 +958,7 @@ namespace {
class NestedTask : public Task {
public:
- explicit NestedTask(Worker* server) : server_(server) { }
+ explicit NestedTask(Worker* server) : server_(server) {}
void Run() {
// Sleep a bit so that we wake up after the reply has been received.
base::PlatformThread::Sleep(250);