Chromium Code Reviews| Index: chrome/browser/sessions/session_restore_stats_collector.h |
| diff --git a/chrome/browser/sessions/session_restore_stats_collector.h b/chrome/browser/sessions/session_restore_stats_collector.h |
| index c312b404383a4530c356063b8acd35f0cd2ed9fd..8e78d7d97ce9b1e829adb9e2da5eb7f71712f11a 100644 |
| --- a/chrome/browser/sessions/session_restore_stats_collector.h |
| +++ b/chrome/browser/sessions/session_restore_stats_collector.h |
| @@ -28,7 +28,8 @@ class SessionRestoreStatsCollector |
| // are added to the existing list of tracked tabs. |
| static void TrackTabs( |
| const std::vector<SessionRestoreDelegate::RestoredTab>& tabs, |
| - const base::TimeTicks& restore_started); |
| + const base::TimeTicks& restore_started, |
| + bool active_only); |
|
gab
2015/04/07 12:33:03
nit: Add a comment to state what |active_only| mea
|
| private: |
| friend class base::RefCounted<SessionRestoreStatsCollector>; |
| @@ -44,7 +45,8 @@ class SessionRestoreStatsCollector |
| const content::NotificationDetails& details) override; |
| // Adds new tabs to the list of tracked tabs. |
| - void AddTabs(const std::vector<SessionRestoreDelegate::RestoredTab>& tabs); |
| + void AddTabs(const std::vector<SessionRestoreDelegate::RestoredTab>& tabs, |
| + bool active_only); |
| // Called when a tab is no longer tracked. |
| void RemoveTab(content::NavigationController* tab); |