Chromium Code Reviews| 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 14 matching lines...) Expand all Loading... | |
| 25 | 25 |
| 26 // The affected URLRow. The ID will be set to the value that is currently in | 26 // The affected URLRow. The ID will be set to the value that is currently in |
| 27 // effect in the main history database. | 27 // effect in the main history database. |
| 28 URLRow row; | 28 URLRow row; |
| 29 | 29 |
| 30 // A list of redirects leading up to the URL represented by this struct. If | 30 // A list of redirects leading up to the URL represented by this struct. If |
| 31 // we have the redirect chain A -> B -> C and this struct represents visiting | 31 // we have the redirect chain A -> B -> C and this struct represents visiting |
| 32 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, | 32 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, |
| 33 // this will be an empty vector. | 33 // this will be an empty vector. |
| 34 history::RedirectList redirects; | 34 history::RedirectList redirects; |
| 35 // Visit time. | |
| 36 base::Time time; | |
|
brettw
2014/05/29 23:21:02
I think you should call this "visit_time" and dele
nilesh
2014/05/29 23:29:07
Done.
| |
| 35 }; | 37 }; |
| 36 | 38 |
| 37 // Details for NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED. | 39 // Details for NOTIFICATION_HISTORY_TYPED_URLS_MODIFIED. |
| 38 struct URLsModifiedDetails : public HistoryDetails { | 40 struct URLsModifiedDetails : public HistoryDetails { |
| 39 URLsModifiedDetails(); | 41 URLsModifiedDetails(); |
| 40 virtual ~URLsModifiedDetails(); | 42 virtual ~URLsModifiedDetails(); |
| 41 | 43 |
| 42 // Lists the information for each of the URLs affected. The rows will have the | 44 // Lists the information for each of the URLs affected. The rows will have the |
| 43 // IDs that are currently in effect in the main history database. | 45 // IDs that are currently in effect in the main history database. |
| 44 URLRows changed_urls; | 46 URLRows changed_urls; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 explicit KeywordSearchDeletedDetails(URLID url_row_id); | 88 explicit KeywordSearchDeletedDetails(URLID url_row_id); |
| 87 virtual ~KeywordSearchDeletedDetails(); | 89 virtual ~KeywordSearchDeletedDetails(); |
| 88 | 90 |
| 89 // The ID of the corresponding URLRow in the main history database. | 91 // The ID of the corresponding URLRow in the main history database. |
| 90 URLID url_row_id; | 92 URLID url_row_id; |
| 91 }; | 93 }; |
| 92 | 94 |
| 93 } // namespace history | 95 } // namespace history |
| 94 | 96 |
| 95 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 97 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| OLD | NEW |