| Index: chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| diff --git a/chrome/browser/android/ntp/ntp_snippets_bridge.cc b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| index 6f006fd80a7fc5c8b0af877601d5f9cf65c96c06..e080c111a16cf8bcac6c2e02741c787bc77868da 100644
|
| --- a/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| +++ b/chrome/browser/android/ntp/ntp_snippets_bridge.cc
|
| @@ -118,6 +118,11 @@ void NTPSnippetsBridge::SnippetVisited(JNIEnv* env,
|
| &tracker_);
|
| }
|
|
|
| +int NTPSnippetsBridge::GetDisabledReason(JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj) {
|
| + return static_cast<int>(ntp_snippets_service_->GetDisabledReason());
|
| +}
|
| +
|
| NTPSnippetsBridge::~NTPSnippetsBridge() {}
|
|
|
| void NTPSnippetsBridge::NTPSnippetsServiceLoaded() {
|
|
|