| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 
| 7 | 7 | 
|  | 8 #include <stddef.h> | 
|  | 9 | 
| 8 #include <map> | 10 #include <map> | 
| 9 | 11 | 
| 10 #include "base/callback_list.h" | 12 #include "base/callback_list.h" | 
|  | 13 #include "base/macros.h" | 
| 11 #include "base/time/tick_clock.h" | 14 #include "base/time/tick_clock.h" | 
| 12 #include "chrome/browser/sessions/session_restore.h" | 15 #include "chrome/browser/sessions/session_restore.h" | 
| 13 #include "chrome/browser/sessions/session_restore_delegate.h" | 16 #include "chrome/browser/sessions/session_restore_delegate.h" | 
| 14 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" | 
| 15 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" | 
| 16 | 19 | 
| 17 namespace content { | 20 namespace content { | 
| 18 class NavigationController; | 21 class NavigationController; | 
| 19 class RenderWidgetHost; | 22 class RenderWidgetHost; | 
| 20 } | 23 } | 
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 267   void ReportDeferredTabLoaded() override; | 270   void ReportDeferredTabLoaded() override; | 
| 268 | 271 | 
| 269  private: | 272  private: | 
| 270   // Has ReportTabDeferred been called? | 273   // Has ReportTabDeferred been called? | 
| 271   bool got_report_tab_deferred_; | 274   bool got_report_tab_deferred_; | 
| 272 | 275 | 
| 273   DISALLOW_COPY_AND_ASSIGN(UmaStatsReportingDelegate); | 276   DISALLOW_COPY_AND_ASSIGN(UmaStatsReportingDelegate); | 
| 274 }; | 277 }; | 
| 275 | 278 | 
| 276 #endif  // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 279 #endif  // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_STATS_COLLECTOR_H_ | 
| OLD | NEW | 
|---|