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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2794493002: Add AuthPolicyLoginHelper (Closed)
Patch Set: Update after review Created 3 years, 8 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/auth_policy_client.cc ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_auth_policy_client.h
diff --git a/chromeos/dbus/fake_auth_policy_client.h b/chromeos/dbus/fake_auth_policy_client.h
index d9cd1f167216843442cad762e0ba8170fb9c3b04..6f445c5ed66ad99f07ab858cb72b14e572db0d57 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -26,19 +26,21 @@ class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
void JoinAdDomain(const std::string& machine_name,
const std::string& user_principal_name,
int password_fd,
- const JoinCallback& callback) override;
+ JoinCallback callback) override;
void AuthenticateUser(const std::string& user_principal_name,
int password_fd,
- const AuthCallback& callback) override;
- void RefreshDevicePolicy(const RefreshPolicyCallback& calllback) override;
+ AuthCallback callback) override;
+ void RefreshDevicePolicy(RefreshPolicyCallback calllback) override;
void RefreshUserPolicy(const AccountId& account_id,
- const RefreshPolicyCallback& callback) override;
+ RefreshPolicyCallback callback) override;
// Mark service as started. It's getting started by the
// UpstartClient::StartAuthPolicyService on the Active Directory managed
// devices.
void set_started(bool started) { started_ = started; }
+ bool started() const { return started_; }
+
void set_auth_error(authpolicy::ErrorType auth_error) {
auth_error_ = auth_error;
}
« no previous file with comments | « chromeos/dbus/auth_policy_client.cc ('k') | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698