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

Unified Diff: chrome/browser/search_engines/chrome_template_url_service_client.cc

Issue 2347973002: Enable Chrome to tweak search engines for some locales (Closed)
Patch Set: fix compile Created 4 years, 3 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/search_engines/chrome_template_url_service_client.cc
diff --git a/chrome/browser/search_engines/chrome_template_url_service_client.cc b/chrome/browser/search_engines/chrome_template_url_service_client.cc
index c2a1ba8d97c03c4cb715c23832bab898146b6fdd..ba7ec07c52a937afd27f3c76273b8008b429378f 100644
--- a/chrome/browser/search_engines/chrome_template_url_service_client.cc
+++ b/chrome/browser/search_engines/chrome_template_url_service_client.cc
@@ -70,8 +70,8 @@ void ChromeTemplateURLServiceClient::RestoreExtensionInfoIfNecessary(
if (url.SchemeIs(extensions::kExtensionScheme)) {
const std::string& extension_id = url.host();
template_url->set_extension_info(
- base::MakeUnique<TemplateURL::AssociatedExtensionInfo>(
- TemplateURL::OMNIBOX_API_EXTENSION, extension_id));
+ base::MakeUnique<TemplateURL::AssociatedExtensionInfo>(extension_id));
+ template_url->set_type(TemplateURL::OMNIBOX_API_EXTENSION);
Peter Kasting 2016/09/21 21:45:08 This was the thing that worried me, looking throug
Ian Wen 2016/09/21 23:12:38 Added a todo track this. Agreed that we shouldn't
}
}

Powered by Google App Engine
This is Rietveld 408576698