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

Unified Diff: chrome/browser/ui/views/profiles/user_manager_view.cc

Issue 1725883002: Add KeepAliveStateObserver, add the Restart option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@KeepAlive
Patch Set: Created 4 years, 10 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/ui/views/profiles/user_manager_view.cc
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc
index 3eb571a373cfb0b12b1d39d11cd216233b8a562f..7805faa2fd976b9c0b87e402ccf6c1b80088a6e0 100644
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc
@@ -235,7 +235,8 @@ void UserManager::ShowReauthDialog(content::BrowserContext* browser_context,
UserManagerView::UserManagerView()
: web_view_(NULL),
user_manager_started_showing_(base::Time()) {
- keep_alive_.reset(new ScopedKeepAlive(keep_alive::Origin::USER_MANAGER_VIEW));
+ keep_alive_.reset(new ScopedKeepAlive(keep_alive::Origin::USER_MANAGER_VIEW,
+ keep_alive::RestartOption::DISABLED));
}
UserManagerView::~UserManagerView() {

Powered by Google App Engine
This is Rietveld 408576698