Chromium Code Reviews| Index: chromeos/dbus/fake_upstart_client.cc |
| diff --git a/chromeos/dbus/fake_upstart_client.cc b/chromeos/dbus/fake_upstart_client.cc |
| index 92e363b5c7278b4a0d85994202ff134671e49567..5ee4d3b92ebaa32d0af5c28b8b025e71c9eee28f 100644 |
| --- a/chromeos/dbus/fake_upstart_client.cc |
| +++ b/chromeos/dbus/fake_upstart_client.cc |
| @@ -4,6 +4,9 @@ |
| #include "chromeos/dbus/fake_upstart_client.h" |
| +#include "chromeos/dbus/dbus_thread_manager.h" |
| +#include "chromeos/dbus/fake_auth_policy_client.h" |
| + |
| namespace chromeos { |
| FakeUpstartClient::FakeUpstartClient() {} |
| @@ -12,6 +15,10 @@ FakeUpstartClient::~FakeUpstartClient() {} |
| void FakeUpstartClient::Init(dbus::Bus* bus) {} |
| -void FakeUpstartClient::StartAuthPolicyService() {} |
| +void FakeUpstartClient::StartAuthPolicyService() { |
| + static_cast<FakeAuthPolicyClient*>( |
| + chromeos::DBusThreadManager::Get()->GetAuthPolicyClient()) |
|
hashimoto
2017/02/06 04:15:49
nit: No need to have "chromeos::".
You are already
Roman Sorokin (ftl)
2017/02/06 10:30:40
Done.
|
| + ->Start(); |
| +} |
| } // namespace chromeos |