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

Unified Diff: chrome/browser/sessions/tab_restore_service.h

Issue 7931027: Refactoring recently closed tab filtering (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Implementing reviewer feedback Created 9 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: chrome/browser/sessions/tab_restore_service.h
diff --git a/chrome/browser/sessions/tab_restore_service.h b/chrome/browser/sessions/tab_restore_service.h
index 714e83eeeaf656ff2c1c9aa5189c1dc5ffdc66e5..06cd399ee28eb375bb164be197e3faf9dbc38014 100644
--- a/chrome/browser/sessions/tab_restore_service.h
+++ b/chrome/browser/sessions/tab_restore_service.h
@@ -173,6 +173,9 @@ class TabRestoreService : public BaseSessionService {
protected:
virtual void Save();
+ // Set of entries.
+ Entries entries_;
noyau (Ping after 24h) 2011/09/20 15:46:58 I had to move the entries to be protected in order
sky 2011/09/20 16:24:46 Use entries() instead of making this field protect
noyau (Ping after 24h) 2011/09/20 17:09:35 Reverted as this class is no longer mocked.
+
private:
// Used to indicate what has loaded.
enum LoadState {
@@ -300,9 +303,6 @@ class TabRestoreService : public BaseSessionService {
// Gets the current time. This uses the time_factory_ if there is one.
base::Time TimeNow() const;
- // Set of entries.
- Entries entries_;
-
// Whether we've loaded the last session.
int load_state_;

Powered by Google App Engine
This is Rietveld 408576698