| Index: chrome/browser/android/chrome_context_util.cc
|
| diff --git a/chrome/browser/android/chrome_context_util.cc b/chrome/browser/android/chrome_context_util.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a55294d317e125af162c0500a8f9cfccb233cf72
|
| --- /dev/null
|
| +++ b/chrome/browser/android/chrome_context_util.cc
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 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/chrome_context_util.h"
|
| +
|
| +#include "base/android/jni_android.h"
|
| +#include "jni/ChromeContextUtil_jni.h"
|
| +
|
| +namespace chrome {
|
| +namespace android {
|
| +
|
| +ChromeContextUtil::ChromeContextUtil() {}
|
| +
|
| +// static
|
| +int ChromeContextUtil::GetSmallestDIPWidth() {
|
| + return Java_ChromeContextUtil_getSmallestDIPWidth(
|
| + base::android::AttachCurrentThread());
|
| +}
|
| +
|
| +} // namespace android
|
| +} // namespace chrome
|
|
|