shill: push service naming down into Service class (instead of being
handled in each subclass)
BUG=chromium-os:17974
TEST=FEATURES="test nostrip noclean" emerge-x86-generic shill, and run on device
Change-Id: Ic251fec9c76fec1a4c3aa5ac8d0aba4c664e029d
Reviewed-on: http://gerrit.chromium.org/gerrit/4927
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/mock_service.cc b/mock_service.cc
index e5d0052..a88fbc8 100644
--- a/mock_service.cc
+++ b/mock_service.cc
@@ -23,9 +23,8 @@
MockService::MockService(ControlInterface *control_interface,
EventDispatcher *dispatcher,
- Manager *manager,
- const string& name)
- : Service(control_interface, dispatcher, manager, name) {
+ Manager *manager)
+ : Service(control_interface, dispatcher, manager) {
ON_CALL(*this, GetRpcIdentifier()).WillByDefault(Return(""));
}