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

Unified Diff: chromeos/dbus/fake_session_manager_client.h

Issue 2801993002: Abandon user sign in when policy is retrieved before session started (Closed)
Patch Set: Fixed review comments 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/blocking_method_caller_unittest.cc ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_session_manager_client.h
diff --git a/chromeos/dbus/fake_session_manager_client.h b/chromeos/dbus/fake_session_manager_client.h
index 2e9d31e06ace34e31fbcef43357ab20cf84f554e..9bc515415967a6edf0bed61effdf33fe5b3938dc 100644
--- a/chromeos/dbus/fake_session_manager_client.h
+++ b/chromeos/dbus/fake_session_manager_client.h
@@ -45,16 +45,19 @@ class FakeSessionManagerClient : public SessionManagerClient {
void NotifyLockScreenDismissed() override;
void RetrieveActiveSessions(const ActiveSessionsCallback& callback) override;
void RetrieveDevicePolicy(const RetrievePolicyCallback& callback) override;
- std::string BlockingRetrieveDevicePolicy() override;
+ RetrievePolicyResponseType BlockingRetrieveDevicePolicy(
+ std::string* policy_out) override;
void RetrievePolicyForUser(const cryptohome::Identification& cryptohome_id,
const RetrievePolicyCallback& callback) override;
- std::string BlockingRetrievePolicyForUser(
- const cryptohome::Identification& cryptohome_id) override;
+ RetrievePolicyResponseType BlockingRetrievePolicyForUser(
+ const cryptohome::Identification& cryptohome_id,
+ std::string* policy_out) override;
void RetrieveDeviceLocalAccountPolicy(
const std::string& account_id,
const RetrievePolicyCallback& callback) override;
- std::string BlockingRetrieveDeviceLocalAccountPolicy(
- const std::string& account_id) override;
+ RetrievePolicyResponseType BlockingRetrieveDeviceLocalAccountPolicy(
+ const std::string& account_id,
+ std::string* policy_out) override;
void StoreDevicePolicy(const std::string& policy_blob,
const StorePolicyCallback& callback) override;
void StorePolicyForUser(const cryptohome::Identification& cryptohome_id,
« no previous file with comments | « chromeos/dbus/blocking_method_caller_unittest.cc ('k') | chromeos/dbus/fake_session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698