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

Unified Diff: chromeos/dbus/fake_auth_policy_client.h

Issue 2673813003: Emulate StartAuthPolicyService from FakeUpstartClient (Closed)
Patch Set: 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
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..13cf1eaa8b5c251ae45ac21e6bf48e73c73f2b48 100644
--- a/chromeos/dbus/fake_auth_policy_client.h
+++ b/chromeos/dbus/fake_auth_policy_client.h
@@ -34,7 +34,10 @@ class CHROMEOS_EXPORT FakeAuthPolicyClient : public AuthPolicyClient {
void RefreshUserPolicy(const AccountId& account_id,
const RefreshPolicyCallback& callback) override;
+ void Start() { started = true; }
hashimoto 2017/02/06 04:15:49 Please add a comment to describe what |started_| m
Roman Sorokin (ftl) 2017/02/06 10:30:40 Done.
+
private:
+ bool started = false;
hashimoto 2017/02/06 04:15:49 Please follow the naming rule. https://google.gith
Roman Sorokin (ftl) 2017/02/06 10:30:40 Done.
DISALLOW_COPY_AND_ASSIGN(FakeAuthPolicyClient);
};
« no previous file with comments | « no previous file | chromeos/dbus/fake_auth_policy_client.cc » ('j') | chromeos/dbus/fake_auth_policy_client_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698