Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2433363004: Chromad: added AD Join ui, authpolicy_client (Closed)
Patch Set: More polishing Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
Dan Beam 2016/10/28 21:13:04 #include "base/macros.h"
Roman Sorokin (ftl) 2016/10/31 11:37:11 Done.
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 // DBusClient overrides.
20 void Init(dbus::Bus* bus) override;
21 // AuthPolicyClient overrides.
22 void JoinADDomain(const std::string& machine_name,
23 const std::string& user,
24 int password_fd,
25 const JoinCallback& callback) override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient);
29 };
30
31 } // namespace chromeos
32
33 #endif // CHROMEOS_DBUS_FAKE_AUTH_POLICY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698