Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ | |
| 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ | |
| 7 | |
| 8 class HistoryService; | |
| 9 | |
| 10 namespace history { | |
| 11 | |
| 12 // Interface for observing notifications from HistoryService. | |
| 13 class HistoryServiceObserver { | |
|
sdefresne
2014/09/23 08:45:10
This class need to have a virtual destructor.
sdefresne
2014/10/20 13:15:43
This class has already been added, please rebase.
| |
| 14 public: | |
| 15 // Is called to notify when a history service has finished loading. | |
| 16 virtual void HistoryServiceLoaded(HistoryService* service) = 0; | |
|
sdefresne
2014/09/23 08:45:10
Use DISALLOW_COPY_AND_ASSIGN to disallow copying a
| |
| 17 }; | |
| 18 | |
| 19 } // namespace history | |
| 20 | |
| 21 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ | |
| OLD | NEW |