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

Side by Side Diff: components/history/core/browser/history_service_observer.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 provider 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/history/core/browser/history_types.h" 9 #include "components/history/core/browser/history_types.h"
10 #include "components/history/core/browser/keyword_id.h" 10 #include "components/history/core/browser/keyword_id.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Sent when a keyword search term is updated. 52 // Sent when a keyword search term is updated.
53 // 53 //
54 // |row| contains the URL information for search |term|. 54 // |row| contains the URL information for search |term|.
55 // |keyword_id| associated with a URL and search term. 55 // |keyword_id| associated with a URL and search term.
56 virtual void OnKeywordSearchTermUpdated(HistoryService* history_service, 56 virtual void OnKeywordSearchTermUpdated(HistoryService* history_service,
57 const URLRow& row, 57 const URLRow& row,
58 KeywordID keyword_id, 58 KeywordID keyword_id,
59 const base::string16& term) {} 59 const base::string16& term) {}
60 60
61 // Sent when a keyword search term is deleted.
62 //
63 // |url_id| id of the url row.
sdefresne 2015/01/16 06:56:00 Style: comment must be correct english sentences
Abhishek 2015/01/16 07:43:48 Done.
64 virtual void OnKeywordSearchTermDeleted(HistoryService* history_service,
65 URLID url_id) {}
66
61 private: 67 private:
62 DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver); 68 DISALLOW_COPY_AND_ASSIGN(HistoryServiceObserver);
63 }; 69 };
64 70
65 } // namespace history 71 } // namespace history
66 72
67 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_ 73 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698