| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 // The URLRows of URLs deleted. This is valid only when |all_history| is false | 63 // The URLRows of URLs deleted. This is valid only when |all_history| is false |
| 64 // indicating that a subset of history has been deleted. | 64 // indicating that a subset of history has been deleted. |
| 65 URLRows rows; | 65 URLRows rows; |
| 66 | 66 |
| 67 // The list of deleted favicon urls. This is valid only when |all_history| is | 67 // The list of deleted favicon urls. This is valid only when |all_history| is |
| 68 // false, indicating that a subset of history has been deleted. | 68 // false, indicating that a subset of history has been deleted. |
| 69 std::set<GURL> favicon_urls; | 69 std::set<GURL> favicon_urls; |
| 70 }; | 70 }; |
| 71 | 71 |
| 72 // Details for NOTIFY_FAVICON_CHANGED. | |
| 73 struct FaviconChangeDetails : public HistoryDetails { | |
| 74 FaviconChangeDetails(); | |
| 75 virtual ~FaviconChangeDetails(); | |
| 76 | |
| 77 std::set<GURL> urls; | |
| 78 }; | |
| 79 | |
| 80 // Details for HISTORY_KEYWORD_SEARCH_TERM_UPDATED. | 72 // Details for HISTORY_KEYWORD_SEARCH_TERM_UPDATED. |
| 81 struct KeywordSearchTermDetails : public HistoryDetails { | 73 struct KeywordSearchTermDetails : public HistoryDetails { |
| 82 KeywordSearchTermDetails(); | 74 KeywordSearchTermDetails(); |
| 83 virtual ~KeywordSearchTermDetails(); | 75 virtual ~KeywordSearchTermDetails(); |
| 84 | 76 |
| 85 GURL url; | 77 GURL url; |
| 86 TemplateURLID keyword_id; | 78 TemplateURLID keyword_id; |
| 87 string16 term; | 79 string16 term; |
| 88 }; | 80 }; |
| 89 | 81 |
| 90 } // namespace history | 82 } // namespace history |
| 91 | 83 |
| 92 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 84 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| OLD | NEW |