Lines Matching refs:OAuth2LoginManager
75 class OAuth2LoginManagerStateWaiter : public OAuth2LoginManager::Observer {
80 final_state_(OAuth2LoginManager::SESSION_RESTORE_NOT_STARTED) {
84 const std::set<OAuth2LoginManager::SessionRestoreState>& states) {
86 OAuth2LoginManager* login_manager =
101 OAuth2LoginManager::SessionRestoreState final_state() { return final_state_; }
104 // OAuth2LoginManager::Observer overrides.
107 OAuth2LoginManager::SessionRestoreState state) OVERRIDE {
120 std::set<OAuth2LoginManager::SessionRestoreState> states_;
122 OAuth2LoginManager::SessionRestoreState final_state_;
179 WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_DONE);
297 void CheckSessionState(OAuth2LoginManager::SessionRestoreState state) {
298 OAuth2LoginManager* login_manager =
305 OAuth2LoginManager::SessionRestoreState final_state) {
307 std::set<OAuth2LoginManager::SessionRestoreState> states;
308 states.insert(OAuth2LoginManager::SESSION_RESTORE_DONE);
309 states.insert(OAuth2LoginManager::SESSION_RESTORE_FAILED);
310 states.insert(OAuth2LoginManager::SESSION_RESTORE_CONNECTION_FAILED);
339 WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_DONE);
474 WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_FAILED);
720 WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_DONE);
778 WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_DONE);