| Index: chrome/browser/android/webapk/chrome_webapk_host.cc
|
| diff --git a/chrome/browser/android/webapk/chrome_webapk_host.cc b/chrome/browser/android/webapk/chrome_webapk_host.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4014e2f6fbd9811ae0bb45a627de8bbbf79b57e7
|
| --- /dev/null
|
| +++ b/chrome/browser/android/webapk/chrome_webapk_host.cc
|
| @@ -0,0 +1,13 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/android/webapk/chrome_webapk_host.h"
|
| +
|
| +#include "jni/ChromeWebApkHost_jni.h"
|
| +
|
| +// static
|
| +bool ChromeWebApkHost::AreWebApkEnabled() {
|
| + JNIEnv* env = base::android::AttachCurrentThread();
|
| + return Java_ChromeWebApkHost_areWebApkEnabled(env);
|
| +}
|
|
|