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

Unified Diff: components/sessions/core/in_memory_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/in_memory_tab_restore_service.cc
diff --git a/components/sessions/core/in_memory_tab_restore_service.cc b/components/sessions/core/in_memory_tab_restore_service.cc
index 902d008bac8b7f02307614c3bc64e242c714f9dd..cdc31f19474e7c4d300d84a91805a59bffba0dca 100644
--- a/components/sessions/core/in_memory_tab_restore_service.cc
+++ b/components/sessions/core/in_memory_tab_restore_service.cc
@@ -81,6 +81,10 @@ void InMemoryTabRestoreService::DeleteLastSession() {
// See comment above.
}
+bool InMemoryTabRestoreService::IsRestoring() const {
+ return helper_.IsRestoring();
+}
+
void InMemoryTabRestoreService::Shutdown() {
}
« no previous file with comments | « components/sessions/core/in_memory_tab_restore_service.h ('k') | components/sessions/core/persistent_tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698