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

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

Issue 151168: Moved typedef of RedirectList from HistoryService class to history namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Details for HISTORY_URL_VISITED. 26 // Details for HISTORY_URL_VISITED.
27 struct URLVisitedDetails : public HistoryDetails { 27 struct URLVisitedDetails : public HistoryDetails {
28 PageTransition::Type transition; 28 PageTransition::Type transition;
29 URLRow row; 29 URLRow row;
30 30
31 // A list of redirects leading up to the URL represented by this struct. If 31 // A list of redirects leading up to the URL represented by this struct. If
32 // we have the redirect chain A -> B -> C and this struct represents visiting 32 // we have the redirect chain A -> B -> C and this struct represents visiting
33 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, 33 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects,
34 // this will be an empty vector. 34 // this will be an empty vector.
35 std::vector<GURL> redirects; 35 history::RedirectList redirects;
36 }; 36 };
37 37
38 // Details for NOTIFY_HISTORY_TYPED_URLS_MODIFIED. 38 // Details for NOTIFY_HISTORY_TYPED_URLS_MODIFIED.
39 struct URLsModifiedDetails : public HistoryDetails { 39 struct URLsModifiedDetails : public HistoryDetails {
40 // Lists the information for each of the URLs affected. 40 // Lists the information for each of the URLs affected.
41 std::vector<URLRow> changed_urls; 41 std::vector<URLRow> changed_urls;
42 }; 42 };
43 43
44 // Details for NOTIFY_HISTORY_URLS_DELETED. 44 // Details for NOTIFY_HISTORY_URLS_DELETED.
45 struct URLsDeletedDetails : public HistoryDetails { 45 struct URLsDeletedDetails : public HistoryDetails {
(...skipping 19 matching lines...) Expand all
65 }; 65 };
66 66
67 // Details for NOTIFY_FAVICON_CHANGED. 67 // Details for NOTIFY_FAVICON_CHANGED.
68 struct FavIconChangeDetails : public HistoryDetails { 68 struct FavIconChangeDetails : public HistoryDetails {
69 std::set<GURL> urls; 69 std::set<GURL> urls;
70 }; 70 };
71 71
72 } // namespace history 72 } // namespace history
73 73
74 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 74 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
OLDNEW
« no previous file with comments | « chrome/browser/history/history_marshaling.h ('k') | chrome/browser/history/history_querying_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698