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

Unified Diff: chrome/browser/android/provider/chrome_browser_provider.cc

Issue 830483005: Eliminate sending NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/provider/chrome_browser_provider.cc
diff --git a/chrome/browser/android/provider/chrome_browser_provider.cc b/chrome/browser/android/provider/chrome_browser_provider.cc
index 595602393f5b3a60aec6def334ca358edcffc99d..b995d5fa1bfd82dd1317927f208669660d0baf39 100644
--- a/chrome/browser/android/provider/chrome_browser_provider.cc
+++ b/chrome/browser/android/provider/chrome_browser_provider.cc
@@ -1636,10 +1636,14 @@ void ChromeBrowserProvider::OnKeywordSearchTermUpdated(
Java_ChromeBrowserProvider_onSearchTermChanged(env, obj.obj());
}
+void ChromeBrowserProvider::OnKeywordSearchTermDeleted(
+ HistoryService* history_service,
+ history::URLID url_id) {
+ OnHistoryChanged();
sdefresne 2015/01/15 17:53:55 Remove, ChromeBrowserProvider was not calling OnHi
Abhishek 2015/01/16 05:55:58 Done.
+}
+
void ChromeBrowserProvider::Observe(
int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
- DCHECK_EQ(type, chrome::NOTIFICATION_HISTORY_URLS_DELETED);
sdefresne 2015/01/15 17:53:55 Do not remove those lines.
Abhishek 2015/01/16 05:55:58 Done.
- OnHistoryChanged();
}
« no previous file with comments | « chrome/browser/android/provider/chrome_browser_provider.h ('k') | chrome/browser/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698