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

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

Issue 15275004: bookmarks: Get rid of the dependency on history_notifications.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more android fixes Created 7 years, 7 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) 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
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698