| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 #include "chromeos/dbus/fake_auth_policy_client.h" | 4 #include "chromeos/dbus/fake_auth_policy_client.h" |
| 5 | 5 |
| 6 namespace chromeos { | 6 namespace chromeos { |
| 7 | 7 |
| 8 FakeAuthPolicyClient::FakeAuthPolicyClient() {} | 8 FakeAuthPolicyClient::FakeAuthPolicyClient() {} |
| 9 | 9 |
| 10 FakeAuthPolicyClient::~FakeAuthPolicyClient() {} | 10 FakeAuthPolicyClient::~FakeAuthPolicyClient() {} |
| 11 | 11 |
| 12 void FakeAuthPolicyClient::Init(dbus::Bus* bus) {} | 12 void FakeAuthPolicyClient::Init(dbus::Bus* bus) {} |
| 13 | 13 |
| 14 void FakeAuthPolicyClient::StartService() {} |
| 15 |
| 14 void FakeAuthPolicyClient::JoinAdDomain(const std::string& machine_name, | 16 void FakeAuthPolicyClient::JoinAdDomain(const std::string& machine_name, |
| 15 const std::string& user, | 17 const std::string& user, |
| 16 int password_fd, | 18 int password_fd, |
| 17 const JoinCallback& callback) { | 19 const JoinCallback& callback) { |
| 18 callback.Run(authpolicy::AD_JOIN_ERROR_UNKNOWN); | 20 callback.Run(authpolicy::AD_JOIN_ERROR_UNKNOWN); |
| 19 } | 21 } |
| 20 | 22 |
| 21 } // namespace chromeos | 23 } // namespace chromeos |
| OLD | NEW |