template_url_android.h 627 B

12345678910111213141516
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_SEARCH_ENGINES_ANDROID_TEMPLATE_URL_ANDROID_H_
  5. #define COMPONENTS_SEARCH_ENGINES_ANDROID_TEMPLATE_URL_ANDROID_H_
  6. #include "base/android/jni_weak_ref.h"
  7. #include "base/android/scoped_java_ref.h"
  8. #include "components/search_engines/template_url.h"
  9. base::android::ScopedJavaLocalRef<jobject> CreateTemplateUrlAndroid(
  10. JNIEnv* env,
  11. const TemplateURL* template_url);
  12. #endif // COMPONENTS_SEARCH_ENGINES_ANDROID_TEMPLATE_URL_ANDROID_H_