Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: ipc/ipc_sync_channel_unittest.cc

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ipc/ipc_sync_channel_unittest.cc
diff --git a/ipc/ipc_sync_channel_unittest.cc b/ipc/ipc_sync_channel_unittest.cc
index 5256de8bb16b7583bba7f6f0f4df5f1ebff9b2e7..bdd83eb1f24f20f8a23234c92bb578ea98aa26da 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);
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | jingle/notifier/listener/push_notifications_listen_task.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698