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

Side by Side Diff: dbus/bus.cc

Issue 10241003: DBus: Remove 'return' from void methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // TODO(satorux): 5 // TODO(satorux):
6 // - Handle "disconnected" signal. 6 // - Handle "disconnected" signal.
7 7
8 #include "dbus/bus.h" 8 #include "dbus/bus.h"
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 this)); 796 this));
797 } 797 }
798 798
799 dbus_bool_t Bus::OnAddWatchThunk(DBusWatch* raw_watch, void* data) { 799 dbus_bool_t Bus::OnAddWatchThunk(DBusWatch* raw_watch, void* data) {
800 Bus* self = static_cast<Bus*>(data); 800 Bus* self = static_cast<Bus*>(data);
801 return self->OnAddWatch(raw_watch); 801 return self->OnAddWatch(raw_watch);
802 } 802 }
803 803
804 void Bus::OnRemoveWatchThunk(DBusWatch* raw_watch, void* data) { 804 void Bus::OnRemoveWatchThunk(DBusWatch* raw_watch, void* data) {
805 Bus* self = static_cast<Bus*>(data); 805 Bus* self = static_cast<Bus*>(data);
806 return self->OnRemoveWatch(raw_watch); 806 self->OnRemoveWatch(raw_watch);
807 } 807 }
808 808
809 void Bus::OnToggleWatchThunk(DBusWatch* raw_watch, void* data) { 809 void Bus::OnToggleWatchThunk(DBusWatch* raw_watch, void* data) {
810 Bus* self = static_cast<Bus*>(data); 810 Bus* self = static_cast<Bus*>(data);
811 return self->OnToggleWatch(raw_watch); 811 self->OnToggleWatch(raw_watch);
812 } 812 }
813 813
814 dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) { 814 dbus_bool_t Bus::OnAddTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
815 Bus* self = static_cast<Bus*>(data); 815 Bus* self = static_cast<Bus*>(data);
816 return self->OnAddTimeout(raw_timeout); 816 return self->OnAddTimeout(raw_timeout);
817 } 817 }
818 818
819 void Bus::OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data) { 819 void Bus::OnRemoveTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
820 Bus* self = static_cast<Bus*>(data); 820 Bus* self = static_cast<Bus*>(data);
821 return self->OnRemoveTimeout(raw_timeout); 821 self->OnRemoveTimeout(raw_timeout);
822 } 822 }
823 823
824 void Bus::OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data) { 824 void Bus::OnToggleTimeoutThunk(DBusTimeout* raw_timeout, void* data) {
825 Bus* self = static_cast<Bus*>(data); 825 Bus* self = static_cast<Bus*>(data);
826 return self->OnToggleTimeout(raw_timeout); 826 self->OnToggleTimeout(raw_timeout);
827 } 827 }
828 828
829 void Bus::OnDispatchStatusChangedThunk(DBusConnection* connection, 829 void Bus::OnDispatchStatusChangedThunk(DBusConnection* connection,
830 DBusDispatchStatus status, 830 DBusDispatchStatus status,
831 void* data) { 831 void* data) {
832 Bus* self = static_cast<Bus*>(data); 832 Bus* self = static_cast<Bus*>(data);
833 return self->OnDispatchStatusChanged(connection, status); 833 self->OnDispatchStatusChanged(connection, status);
834 } 834 }
835 835
836 } // namespace dbus 836 } // namespace dbus
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698