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

Unified Diff: chromeos/dbus/fake_auth_policy_client.cc

Issue 2491153003: Add Refresh{Device,User}Policies methods into AuthPolicyClient (Closed)
Patch Set: Addressed comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/dbus/fake_auth_policy_client.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_auth_policy_client.cc
diff --git a/chromeos/dbus/fake_auth_policy_client.cc b/chromeos/dbus/fake_auth_policy_client.cc
index a80298e272b2e4ea4d0b1f74dc0f8bbdd0c3d0fc..edcf52857d7b7d204e333fc71bf0a3470840f50b 100644
--- a/chromeos/dbus/fake_auth_policy_client.cc
+++ b/chromeos/dbus/fake_auth_policy_client.cc
@@ -18,4 +18,15 @@ void FakeAuthPolicyClient::JoinAdDomain(const std::string& machine_name,
callback.Run(authpolicy::AD_JOIN_ERROR_NONE);
}
+void FakeAuthPolicyClient::RefreshDevicePolicy(
+ const RefreshPolicyCallback& callback) {
+ callback.Run(true);
+};
+
+void FakeAuthPolicyClient::RefreshUserPolicy(
+ const std::string& account_id,
+ const RefreshPolicyCallback& callback) {
+ callback.Run(true);
+};
+
} // namespace chromeos
« no previous file with comments | « 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