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

Unified Diff: components/sessions/core/persistent_tab_restore_service.cc

Issue 2345763002: Fix tabs duplication when restoring last closed window. (Closed)
Patch Set: Fix comments. Created 4 years, 3 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: components/sessions/core/persistent_tab_restore_service.cc
diff --git a/components/sessions/core/persistent_tab_restore_service.cc b/components/sessions/core/persistent_tab_restore_service.cc
index 7548edb925a5b5861663a74d2fd5cd46ddf7eb36..f0689a431b811a8ed277078a71a358d23f8ee448 100644
--- a/components/sessions/core/persistent_tab_restore_service.cc
+++ b/components/sessions/core/persistent_tab_restore_service.cc
@@ -950,6 +950,10 @@ void PersistentTabRestoreService::DeleteLastSession() {
return delegate_->DeleteLastSession();
}
+bool PersistentTabRestoreService::IsRestoring() const {
+ return helper_.IsRestoring();
+}
+
void PersistentTabRestoreService::Shutdown() {
return delegate_->Shutdown();
}
« no previous file with comments | « components/sessions/core/persistent_tab_restore_service.h ('k') | components/sessions/core/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698