| 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> |
| 11 | 11 |
| 12 #include "chrome/browser/history/history_details.h" | 12 #include "chrome/browser/history/history_details.h" |
| 13 #include "chrome/browser/history/history_types.h" | 13 #include "components/history/core/browser/history_types.h" |
| 14 #include "components/history/core/browser/keyword_id.h" | 14 #include "components/history/core/browser/keyword_id.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 namespace history { | 17 namespace history { |
| 18 | 18 |
| 19 // Details for NOTIFICATION_HISTORY_URL_VISITED. | 19 // Details for NOTIFICATION_HISTORY_URL_VISITED. |
| 20 struct URLVisitedDetails : public HistoryDetails { | 20 struct URLVisitedDetails : public HistoryDetails { |
| 21 URLVisitedDetails(); | 21 URLVisitedDetails(); |
| 22 virtual ~URLVisitedDetails(); | 22 virtual ~URLVisitedDetails(); |
| 23 | 23 |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 explicit KeywordSearchDeletedDetails(URLID url_row_id); | 88 explicit KeywordSearchDeletedDetails(URLID url_row_id); |
| 89 virtual ~KeywordSearchDeletedDetails(); | 89 virtual ~KeywordSearchDeletedDetails(); |
| 90 | 90 |
| 91 // The ID of the corresponding URLRow in the main history database. | 91 // The ID of the corresponding URLRow in the main history database. |
| 92 URLID url_row_id; | 92 URLID url_row_id; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace history | 95 } // namespace history |
| 96 | 96 |
| 97 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 97 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| OLD | NEW |