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

Unified Diff: chrome/browser/ui/omnibox/chrome_omnibox_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/ui/omnibox/chrome_omnibox_client.cc
diff --git a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc
index f8d9c69828e79acac58c3293a6eb83ec8e962702..0089256506337c24efc58b65dc839028a8342a46 100644
--- a/chrome/browser/ui/omnibox/chrome_omnibox_client.cc
+++ b/chrome/browser/ui/omnibox/chrome_omnibox_client.cc
@@ -212,7 +212,7 @@ gfx::Image ChromeOmniboxClient::GetIconIfExtensionMatch(
TemplateURLServiceFactory::GetForProfile(profile_);
const TemplateURL* template_url = match.GetTemplateURL(service, false);
if (template_url &&
- (template_url->GetType() == TemplateURL::OMNIBOX_API_EXTENSION)) {
+ (template_url->type() == TemplateURL::OMNIBOX_API_EXTENSION)) {
return extensions::OmniboxAPI::Get(profile_)
->GetOmniboxPopupIcon(template_url->GetExtensionId());
}
@@ -224,7 +224,7 @@ bool ChromeOmniboxClient::ProcessExtensionKeyword(
const AutocompleteMatch& match,
WindowOpenDisposition disposition,
OmniboxNavigationObserver* observer) {
- if (template_url->GetType() != TemplateURL::OMNIBOX_API_EXTENSION)
+ if (template_url->type() != TemplateURL::OMNIBOX_API_EXTENSION)
return false;
// Strip the keyword + leading space off the input, but don't exceed

Powered by Google App Engine
This is Rietveld 408576698