| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Structs that hold data used in broadcasting notifications. | 5 // Structs that hold data used in broadcasting notifications. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 7 #ifndef CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| 8 #define CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 8 #define CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // indicating that a subset of history has been deleted. The rows will have | 41 // indicating that a subset of history has been deleted. The rows will have |
| 42 // the IDs that had been in effect before the deletion in the main history | 42 // the IDs that had been in effect before the deletion in the main history |
| 43 // database. | 43 // database. |
| 44 URLRows rows; | 44 URLRows rows; |
| 45 | 45 |
| 46 // The list of deleted favicon urls. This is valid only when |all_history| is | 46 // The list of deleted favicon urls. This is valid only when |all_history| is |
| 47 // false, indicating that a subset of history has been deleted. | 47 // false, indicating that a subset of history has been deleted. |
| 48 std::set<GURL> favicon_urls; | 48 std::set<GURL> favicon_urls; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 // Details for HISTORY_KEYWORD_SEARCH_TERM_DELETED. | |
| 52 struct KeywordSearchDeletedDetails : public HistoryDetails { | |
| 53 explicit KeywordSearchDeletedDetails(URLID url_row_id); | |
| 54 ~KeywordSearchDeletedDetails() override; | |
| 55 | |
| 56 // The ID of the corresponding URLRow in the main history database. | |
| 57 URLID url_row_id; | |
| 58 }; | |
| 59 | |
| 60 } // namespace history | 51 } // namespace history |
| 61 | 52 |
| 62 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 53 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| OLD | NEW |