Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_RESTORE_OBSERVER_H_ | |
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_OBSERVER_H_ | |
| 7 | |
| 8 // Observer of events during session restore. | |
| 9 class SessionRestoreObserver { | |
| 10 public: | |
| 11 // OnSessionRestoreStartedLoadingTabs is triggered when the browser starts | |
| 12 // loading tabs in session restore. | |
| 13 virtual void OnSessionRestoreStartedLoadingTabs() {} | |
| 14 | |
| 15 // OnSessionRestoreFinishedLoadingTabs is triggered when the browser finishes | |
| 16 // loading tabs in session restore. | |
|
sky
2017/06/27 00:11:53
Please also document that in the case of memory pr
ducbui
2017/06/27 00:45:03
Done.
| |
| 17 virtual void OnSessionRestoreFinishedLoadingTabs() {} | |
| 18 }; | |
| 19 | |
| 20 #endif // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_OBSERVER_H_ | |
| OLD | NEW |