This source file includes following definitions.
- RegisterBindings
- OpenProtectedContentSettings
- ShowSyncSettings
- ShowTermsOfServiceDialog
- AreParentalControlsEnabled
#include "chrome/browser/android/chromium_application.h"
#include "base/android/jni_android.h"
#include "jni/ChromiumApplication_jni.h"
namespace chrome {
namespace android {
bool ChromiumApplication::RegisterBindings(JNIEnv* env) {
return RegisterNativesImpl(env);
}
void ChromiumApplication::OpenProtectedContentSettings() {
Java_ChromiumApplication_openProtectedContentSettings(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
}
void ChromiumApplication::ShowSyncSettings() {
Java_ChromiumApplication_showSyncSettings(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
}
void ChromiumApplication::ShowTermsOfServiceDialog() {
Java_ChromiumApplication_showTermsOfServiceDialog(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
}
bool ChromiumApplication::AreParentalControlsEnabled() {
return Java_ChromiumApplication_areParentalControlsEnabled(
base::android::AttachCurrentThread(),
base::android::GetApplicationContext());
}
}
}