OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ |
6 #define CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ | 6 #define CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ |
7 | 7 |
8 #include "chrome/browser/history/browsing_history_service.h" | 8 #include "chrome/browser/history/browsing_history_service.h" |
9 | 9 |
10 // Interface for handling calls from the BrowsingHistoryService. | 10 // Interface for handling calls from the BrowsingHistoryService. |
(...skipping 14 matching lines...) Expand all Loading... |
25 // items. | 25 // items. |
26 virtual void HistoryDeleted() = 0; | 26 virtual void HistoryDeleted() = 0; |
27 | 27 |
28 // Whether other forms of browsing history were found on the history | 28 // Whether other forms of browsing history were found on the history |
29 // service. | 29 // service. |
30 virtual void HasOtherFormsOfBrowsingHistory( | 30 virtual void HasOtherFormsOfBrowsingHistory( |
31 bool has_other_forms, bool has_synced_results) = 0; | 31 bool has_other_forms, bool has_synced_results) = 0; |
32 | 32 |
33 protected: | 33 protected: |
34 BrowsingHistoryServiceHandler() {} | 34 BrowsingHistoryServiceHandler() {} |
| 35 virtual ~BrowsingHistoryServiceHandler() {} |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryServiceHandler); | 37 DISALLOW_COPY_AND_ASSIGN(BrowsingHistoryServiceHandler); |
37 }; | 38 }; |
38 | 39 |
39 #endif // CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ | 40 #endif // CHROME_BROWSER_HISTORY_BROWSING_HISTORY_SERVICE_HANDLER_H_ |
OLD | NEW |