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

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

Issue 1394343002: Remove "Search by Image" feature on Chrome for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@chrometab4
Patch Set: newt's nits Created 5 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 | « chrome/browser/search_engines/template_url_service_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search_engines/template_url_service_android.cc
diff --git a/chrome/browser/search_engines/template_url_service_android.cc b/chrome/browser/search_engines/template_url_service_android.cc
index b157f89e2088ff981225460c4de229d139b09dcf..176d47526e81bbbf33d2971e33a08cb8a072bfaa 100644
--- a/chrome/browser/search_engines/template_url_service_android.cc
+++ b/chrome/browser/search_engines/template_url_service_android.cc
@@ -90,16 +90,6 @@ jboolean TemplateUrlServiceAndroid::IsSearchProviderManaged(JNIEnv* env,
return template_url_service_->is_default_search_managed();
}
-jboolean TemplateUrlServiceAndroid::IsSearchByImageAvailable(JNIEnv* env,
- jobject obj) {
- const TemplateURL* default_search_provider =
- template_url_service_->GetDefaultSearchProvider();
- return default_search_provider &&
- !default_search_provider->image_url().empty() &&
- default_search_provider->image_url_ref().IsValid(
- template_url_service_->search_terms_data());
-}
-
jboolean TemplateUrlServiceAndroid::IsDefaultSearchEngineGoogle(JNIEnv* env,
jobject obj) {
TemplateURL* default_search_provider =
« no previous file with comments | « chrome/browser/search_engines/template_url_service_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698