Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: chrome/browser/history/history_notifications.h

Issue 301233004: Send visit time with HISTORY_URL_VISITED notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename time to visit_time Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
36 base::Time visit_time;
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
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__
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698