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

Unified Diff: chrome/browser/chromeos/login/signin/oauth2_login_manager.h

Issue 1137253003: cros: Fix session restore on connection change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move PREPARE state setting to ContinueSessionRestore and cover it on connection change Created 5 years, 7 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: chrome/browser/chromeos/login/signin/oauth2_login_manager.h
diff --git a/chrome/browser/chromeos/login/signin/oauth2_login_manager.h b/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
index 31389ceb5a99bdccac6a4211bc34d6c8b3c00607..bac1bcb0b339eb316a4b501be2f39c2653cae824 100644
--- a/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
+++ b/chrome/browser/chromeos/login/signin/oauth2_login_manager.h
@@ -105,9 +105,11 @@ class OAuth2LoginManager : public KeyedService,
const base::Time& session_restore_start() { return session_restore_start_; }
+ bool SessionRestoreIsRunning() const;
+
// Returns true if the tab loading should block until session restore
// finishes.
- bool ShouldBlockTabLoading();
+ bool ShouldBlockTabLoading() const;
private:
friend class MergeSessionLoadPageTest;

Powered by Google App Engine
This is Rietveld 408576698