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

Unified Diff: components/sessions/core/tab_restore_service.h

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/tab_restore_service.h
diff --git a/components/sessions/core/tab_restore_service.h b/components/sessions/core/tab_restore_service.h
index 8f68b9f0bd508b0cd3d2b313bd7c258c4bb2ef6e..a851f813e575bd07c58300d79386a21e3e993ff9 100644
--- a/components/sessions/core/tab_restore_service.h
+++ b/components/sessions/core/tab_restore_service.h
@@ -182,6 +182,9 @@ class SESSIONS_EXPORT TabRestoreService : public KeyedService {
// Deletes the last session.
virtual void DeleteLastSession() = 0;
+
+ // Returns true if we're in the process of restoring some entries.
+ virtual bool IsRestoring() const = 0;
};
// A class that is used to associate platform-specific data with
« no previous file with comments | « components/sessions/core/persistent_tab_restore_service.cc ('k') | components/sessions/core/tab_restore_service_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698