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

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

Issue 830483005: Eliminate sending NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated Created 5 years, 11 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
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 30 matching lines...) Expand all
41 // indicating that a subset of history has been deleted. The rows will have 41 // indicating that a subset of history has been deleted. The rows will have
42 // the IDs that had been in effect before the deletion in the main history 42 // the IDs that had been in effect before the deletion in the main history
43 // database. 43 // database.
44 URLRows rows; 44 URLRows rows;
45 45
46 // The list of deleted favicon urls. This is valid only when |all_history| is 46 // The list of deleted favicon urls. This is valid only when |all_history| is
47 // false, indicating that a subset of history has been deleted. 47 // false, indicating that a subset of history has been deleted.
48 std::set<GURL> favicon_urls; 48 std::set<GURL> favicon_urls;
49 }; 49 };
50 50
51 // Details for HISTORY_KEYWORD_SEARCH_TERM_DELETED.
52 struct KeywordSearchDeletedDetails : public HistoryDetails {
53 explicit KeywordSearchDeletedDetails(URLID url_row_id);
54 ~KeywordSearchDeletedDetails() override;
55
56 // The ID of the corresponding URLRow in the main history database.
57 URLID url_row_id;
58 };
59
60 } // namespace history 51 } // namespace history
61 52
62 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 53 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend_unittest.cc ('k') | chrome/browser/history/history_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698