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

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

Issue 23654021: Expose the ability to perform a search from CVC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove useless method Created 7 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/template_url_service_android.h
diff --git a/chrome/browser/search_engines/template_url_service_android.h b/chrome/browser/search_engines/template_url_service_android.h
index 331ac887dadd95c562b9db1104603ba4633a5649..f2543b7a92ca9410de1febaa1cff6636dad9ac9b 100644
--- a/chrome/browser/search_engines/template_url_service_android.h
+++ b/chrome/browser/search_engines/template_url_service_android.h
@@ -31,6 +31,15 @@ class TemplateUrlServiceAndroid : public content::NotificationObserver {
jboolean IsSearchProviderManaged(JNIEnv* env, jobject obj);
jboolean IsSearchByImageAvailable(JNIEnv* env, jobject obj);
jboolean IsDefaultSearchEngineGoogle(JNIEnv* env, jobject obj);
+ base::android::ScopedJavaLocalRef<jstring> GetUrlForSearchQuery(
+ JNIEnv* env,
+ jobject obj,
+ jstring jquery);
+ base::android::ScopedJavaLocalRef<jstring> ReplaceSearchTermsInUrl(
+ JNIEnv* env,
+ jobject obj,
+ jstring jquery,
+ jstring jcurrent_url);
// NotificationObserver:
virtual void Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698