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

Unified Diff: ios/chrome/browser/search_engines/template_url_service_client_impl.cc

Issue 2354413004: Delete from Sync the artificial search engines created by the omnibox extensions. (Closed)
Patch Set: comments Created 4 years, 2 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
« no previous file with comments | « ios/chrome/browser/search_engines/template_url_service_client_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/search_engines/template_url_service_client_impl.cc
diff --git a/ios/chrome/browser/search_engines/template_url_service_client_impl.cc b/ios/chrome/browser/search_engines/template_url_service_client_impl.cc
index 04215a2dfc860704335ec2c68dda5558c6838326..5e8f3c2e2b6a61b1b1e01e99d162445f8f8f0a5c 100644
--- a/ios/chrome/browser/search_engines/template_url_service_client_impl.cc
+++ b/ios/chrome/browser/search_engines/template_url_service_client_impl.cc
@@ -68,9 +68,10 @@ void TemplateURLServiceClientImpl::AddKeywordGeneratedVisit(const GURL& url) {
}
}
-void TemplateURLServiceClientImpl::RestoreExtensionInfoIfNecessary(
- TemplateURL* template_url) {
- // iOS does not supports extension, nothing to do.
+bool TemplateURLServiceClientImpl::IsOmniboxExtensionURL(
+ const std::string& url) {
+ // iOS does not support extensions.
+ return false;
}
void TemplateURLServiceClientImpl::OnURLVisited(
« no previous file with comments | « ios/chrome/browser/search_engines/template_url_service_client_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698