Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 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 | 4 |
| 5 #ifndef CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | 5 #ifndef CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ |
| 6 #define CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | 6 #define CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 27 const std::string& user_principal_name, | 27 const std::string& user_principal_name, |
| 28 int password_fd, | 28 int password_fd, |
| 29 const JoinCallback& callback) override; | 29 const JoinCallback& callback) override; |
| 30 void AuthenticateUser(const std::string& user_principal_name, | 30 void AuthenticateUser(const std::string& user_principal_name, |
| 31 int password_fd, | 31 int password_fd, |
| 32 const AuthCallback& callback) override; | 32 const AuthCallback& callback) override; |
| 33 void RefreshDevicePolicy(const RefreshPolicyCallback& calllback) override; | 33 void RefreshDevicePolicy(const RefreshPolicyCallback& calllback) override; |
| 34 void RefreshUserPolicy(const AccountId& account_id, | 34 void RefreshUserPolicy(const AccountId& account_id, |
| 35 const RefreshPolicyCallback& callback) override; | 35 const RefreshPolicyCallback& callback) override; |
| 36 | 36 |
| 37 void Start() { started = true; } | |
|
hashimoto
2017/02/06 04:15:49
Please add a comment to describe what |started_| m
Roman Sorokin (ftl)
2017/02/06 10:30:40
Done.
| |
| 38 | |
| 37 private: | 39 private: |
| 40 bool started = false; | |
|
hashimoto
2017/02/06 04:15:49
Please follow the naming rule.
https://google.gith
Roman Sorokin (ftl)
2017/02/06 10:30:40
Done.
| |
| 38 DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient); | 41 DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient); |
| 39 }; | 42 }; |
| 40 | 43 |
| 41 } // namespace chromeos | 44 } // namespace chromeos |
| 42 | 45 |
| 43 #endif // CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ | 46 #endif // CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_ |
| OLD | NEW |