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

Side by Side Diff: chrome/browser/sessions/session_restore_observer.h

Issue 2935183002: [TabMetrics] Add signals that mark the start and end of session restore. (Closed)
Patch Set: Address new comments. Created 3 years, 5 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698