Chromium Code Reviews| Index: chrome/browser/history/history.h |
| =================================================================== |
| --- chrome/browser/history/history.h (revision 131579) |
| +++ chrome/browser/history/history.h (working copy) |
| @@ -54,6 +54,7 @@ |
| class HistoryQueryTest; |
| class VisitFilter; |
| class URLDatabase; |
| +class VisitDatabaseObserver; |
| } // namespace history |
| @@ -596,6 +597,11 @@ |
| // history. We filter out some URLs such as JavaScript. |
| static bool CanAddURL(const GURL& url); |
| + // Adds or removes observers for the VisitDatabase. Should be run in the |
|
cbentzel
2012/04/17 20:28:16
This is in the testing section, which is incorrect
tburkard
2012/04/17 20:51:36
Done.
|
| + // thread in which the observer would like to be notified. |
| + void AddVisitDatabaseObserver(history::VisitDatabaseObserver* observer); |
| + void RemoveVisitDatabaseObserver(history::VisitDatabaseObserver* observer); |
| + |
| protected: |
| virtual ~HistoryService(); |