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

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

Issue 2475343002: Add UpstartClient (Closed)
Patch Set: 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
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
OLDNEW
« chromeos/dbus/auth_policy_client.cc ('K') | « chromeos/dbus/fake_auth_policy_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698