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

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

Issue 308053009: Add contextual search to the template url system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments and make contextual search /search requests accessible from Java. Created 6 years, 7 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 3ee33a81e6163621220a963aee8dd91d951c1bab..40fa993c09d99485449c098c2473d43967a7cda8 100644
--- a/chrome/browser/search_engines/template_url_service_android.h
+++ b/chrome/browser/search_engines/template_url_service_android.h
@@ -45,6 +45,10 @@ class TemplateUrlServiceAndroid {
jobject obj,
jstring jquery,
jstring jcurrent_url);
+ base::android::ScopedJavaLocalRef<jstring> GetUrlForContextualSearchQuery(
+ JNIEnv* env,
+ jobject obj,
+ jstring jquery);
static bool Register(JNIEnv* env);

Powered by Google App Engine
This is Rietveld 408576698