Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / sessions / tab_restore_service_observer.h
blob328176a682cf7226bcb320cfae9df12a8da3ef37
1 // Copyright (c) 2010 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.
5 #ifndef CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_
8 class TabRestoreService;
10 // Observer is notified when the set of entries managed by TabRestoreService
11 // changes in some way.
12 class TabRestoreServiceObserver {
13 public:
14 // Sent when the set of entries changes in some way.
15 virtual void TabRestoreServiceChanged(TabRestoreService* service) = 0;
17 // Sent to all remaining Observers when TabRestoreService's
18 // destructor is run.
19 virtual void TabRestoreServiceDestroyed(TabRestoreService* service) = 0;
21 // Sent when TabRestoreService finishes loading.
22 virtual void TabRestoreServiceLoaded(TabRestoreService* service) {}
24 protected:
25 virtual ~TabRestoreServiceObserver() {}
28 #endif // CHROME_BROWSER_SESSIONS_TAB_RESTORE_SERVICE_OBSERVER_H_