| Index: chromeos/dbus/fake_authpolicy_client.h
|
| diff --git a/chromeos/dbus/fake_authpolicy_client.h b/chromeos/dbus/fake_authpolicy_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..29d5f816c531b1ae1f894bc4b04630497059d80e
|
| --- /dev/null
|
| +++ b/chromeos/dbus/fake_authpolicy_client.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROMEOS_DBUS_FAKE_AUTHPOLICY_CLIENT_H_
|
| +#define CHROMEOS_DBUS_FAKE_AUTHPOLICY_CLIENT_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "chromeos/dbus/authpolicy_client.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class CHROMEOS_EXPORT FakeAuthpolicyClient : public AuthpolicyClient {
|
| + public:
|
| + FakeAuthpolicyClient();
|
| + ~FakeAuthpolicyClient() override;
|
| +
|
| + void Init(dbus::Bus* bus) override;
|
| +
|
| + void Join(const std::string& machine_name,
|
| + const std::string& user,
|
| + const std::string& password,
|
| + const JoinCallback& callback) override;
|
| +
|
| + protected:
|
| + DISALLOW_COPY_AND_ASSIGN(FakeAuthpolicyClient);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_DBUS_FAKE_AUTHPOLICY_CLIENT_H_
|
|
|