Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | |
| 6 #define CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "chromeos/dbus/auth_policy_client.h" | |
| 11 | |
| 12 namespace chromeos { | |
| 13 | |
| 14 class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient { | |
| 15 public: | |
| 16 FakeAuthPolicyClient(); | |
| 17 ~FakeAuthPolicyClient() override; | |
| 18 | |
| 19 void Init(dbus::Bus* bus) override; | |
|
xiyuan
2016/10/26 22:03:17
nit: // AuthPolicyClient:
hashimoto
2016/10/27 02:26:07
As xiyuan said, please add comments to make it cle
Roman Sorokin (ftl)
2016/10/27 13:10:46
Done.
Roman Sorokin (ftl)
2016/10/27 13:10:46
Done.
| |
| 20 | |
|
xiyuan
2016/10/26 22:03:17
nit: nuke the empty line?
Roman Sorokin (ftl)
2016/10/27 13:10:46
Done.
| |
| 21 void JoinADDomain(const std::string& machine_name, | |
| 22 const std::string& user, | |
| 23 int password_fd, | |
| 24 const JoinCallback& callback) override; | |
| 25 | |
| 26 protected: | |
|
xiyuan
2016/10/26 22:03:17
private: ?
Roman Sorokin (ftl)
2016/10/27 13:10:46
Done.
| |
| 27 DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient); | |
| 28 }; | |
| 29 | |
| 30 } // namespace chromeos | |
| 31 | |
| 32 #endif // CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | |
| OLD | NEW |