| Index: chromeos/dbus/fake_upstart_client.cc
|
| diff --git a/chromeos/dbus/fake_upstart_client.cc b/chromeos/dbus/fake_upstart_client.cc
|
| index 2980912ca45ed47c8c5b0ed6a62048405e651b2b..7f803c86c1c71023a6079935a635b615ee5f57e6 100644
|
| --- a/chromeos/dbus/fake_upstart_client.cc
|
| +++ b/chromeos/dbus/fake_upstart_client.cc
|
| @@ -21,4 +21,12 @@ void FakeUpstartClient::StartAuthPolicyService() {
|
| ->set_started(true);
|
| }
|
|
|
| +void FakeUpstartClient::RestartAuthPolicyService() {
|
| + FakeAuthPolicyClient* authpolicy_client = static_cast<FakeAuthPolicyClient*>(
|
| + DBusThreadManager::Get()->GetAuthPolicyClient());
|
| + DLOG_IF(WARNING, !authpolicy_client->started())
|
| + << "Trying to restart authpolicyd which is not started";
|
| + authpolicy_client->set_started(true);
|
| +}
|
| +
|
| } // namespace chromeos
|
|
|