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

Unified Diff: components/search_engines/template_url_service_client.h

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
Index: components/search_engines/template_url_service_client.h
diff --git a/components/search_engines/template_url_service_client.h b/components/search_engines/template_url_service_client.h
index 46147aee3982973bdcd80b53decb7327f08cf6d4..77a22d26706f4ec8eeacf490f5212713a4ff6f4f 100644
--- a/components/search_engines/template_url_service_client.h
+++ b/components/search_engines/template_url_service_client.h
@@ -37,8 +37,9 @@ class TemplateURLServiceClient {
// Adds the given URL to history as a keyword generated visit.
virtual void AddKeywordGeneratedVisit(const GURL& url) = 0;
- // Restores the extension info of a TemplateURL loaded from the database.
- virtual void RestoreExtensionInfoIfNecessary(TemplateURL* template_url) = 0;
+ // Given the main search |url| for a TemplateURL, returns whether the
+ // TemplateURL is from an omnibox extension.
+ virtual bool IsOmniboxExtensionURL(const std::string& url) = 0;
};
#endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698