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

Unified Diff: chromeos/dbus/mock_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/fake_session_manager_client.cc ('k') | chromeos/dbus/session_manager_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/mock_session_manager_client.h
diff --git a/chromeos/dbus/mock_session_manager_client.h b/chromeos/dbus/mock_session_manager_client.h
index 82b568ee00ff5d0fe02855a2dd775fcb9dd42e9a..74d5a67a5f6307b9b8119ed62a698cc916356255 100644
--- a/chromeos/dbus/mock_session_manager_client.h
+++ b/chromeos/dbus/mock_session_manager_client.h
@@ -40,17 +40,19 @@ class MockSessionManagerClient : public SessionManagerClient {
MOCK_METHOD0(NotifyLockScreenDismissed, void(void));
MOCK_METHOD1(RetrieveActiveSessions, void(const ActiveSessionsCallback&));
MOCK_METHOD1(RetrieveDevicePolicy, void(const RetrievePolicyCallback&));
- MOCK_METHOD0(BlockingRetrieveDevicePolicy, std::string(void));
+ MOCK_METHOD1(BlockingRetrieveDevicePolicy,
+ RetrievePolicyResponseType(std::string*));
MOCK_METHOD2(RetrievePolicyForUser,
void(const cryptohome::Identification&,
const RetrievePolicyCallback&));
- MOCK_METHOD1(BlockingRetrievePolicyForUser,
- std::string(const cryptohome::Identification&));
+ MOCK_METHOD2(BlockingRetrievePolicyForUser,
+ RetrievePolicyResponseType(const cryptohome::Identification&,
+ std::string*));
MOCK_METHOD2(RetrieveDeviceLocalAccountPolicy,
void(const std::string&,
const RetrievePolicyCallback&));
- MOCK_METHOD1(BlockingRetrieveDeviceLocalAccountPolicy,
- std::string(const std::string&));
+ MOCK_METHOD2(BlockingRetrieveDeviceLocalAccountPolicy,
+ RetrievePolicyResponseType(const std::string&, std::string*));
MOCK_METHOD2(StoreDevicePolicy,
void(const std::string&,
const StorePolicyCallback&));
« no previous file with comments | « chromeos/dbus/fake_session_manager_client.cc ('k') | chromeos/dbus/session_manager_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698