| 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_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 class WebContents; | 14 class WebContents; |
| 14 } | 15 } |
| 15 | 16 |
| 16 // SessionRestoreDelegate is responsible for creating the tab loader and the | 17 // SessionRestoreDelegate is responsible for creating the tab loader and the |
| 17 // stats collector. | 18 // stats collector. |
| 18 class SessionRestoreDelegate { | 19 class SessionRestoreDelegate { |
| 19 public: | 20 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 41 }; | 42 }; |
| 42 | 43 |
| 43 static void RestoreTabs(const std::vector<RestoredTab>& tabs, | 44 static void RestoreTabs(const std::vector<RestoredTab>& tabs, |
| 44 const base::TimeTicks& restore_started); | 45 const base::TimeTicks& restore_started); |
| 45 | 46 |
| 46 private: | 47 private: |
| 47 DISALLOW_IMPLICIT_CONSTRUCTORS(SessionRestoreDelegate); | 48 DISALLOW_IMPLICIT_CONSTRUCTORS(SessionRestoreDelegate); |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 #endif // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ | 51 #endif // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ |
| OLD | NEW |