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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2673813003: Emulate StartAuthPolicyService from FakeUpstartClient (Closed)
Patch Set: rebase Created 3 years, 10 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 | « no previous file | 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 3b1b7c1f9b18b6f023955055d0f7e89195abdc53..498d63792d136660b9c49e24f034b04199b0a2f3 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -34,7 +34,13 @@ class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
void RefreshUserPolicy(const AccountId& account_id,
const 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; }
+
private:
+ bool started_ = false;
DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient);
};
« no previous file with comments | « no previous file | chromeos/dbus/fake_auth_policy_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698