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

Unified Diff: chrome/browser/chromeos/login/user_manager.h

Issue 11499012: Add policy for limiting the session length (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed. SessionLengthLimiter is no longer a PKS. Created 8 years 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/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 26dc9e2aa9cf61b28d18953ffca4c01c2ca2967e..a869380a7b60943b18457cc1ce9c04ff830c5a10 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -190,6 +190,10 @@ class UserManager {
// or restart after crash.
virtual bool IsSessionStarted() const = 0;
+ // Returns true when the browser has crashed and restarted during the current
+ // user's session.
+ virtual bool HasBrowserRestarted() const = 0;
+
// Returns true if data stored or cached for the user with the given email
// address outside that user's cryptohome (wallpaper, avatar, OAuth token
// status, display name, display email) is to be treated as ephemeral.

Powered by Google App Engine
This is Rietveld 408576698