Refactor SharedMemory::Create and fix a rare file leak.
[chromium-blink-merge.git] / chrome / browser / android / accessibility_util.h
blob4b936bf53e13a3b2af1b975438cdf492b5db2459
1 // Copyright 2014 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.
5 #ifndef CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_
6 #define CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_
8 #include "base/android/jni_android.h"
10 namespace chrome {
11 namespace android {
13 class AccessibilityUtil {
14 public:
15 static bool Register(JNIEnv* env);
17 static bool IsAccessibilityEnabled();
19 private:
20 AccessibilityUtil();
23 } // namespace android
24 } // namespace chrome
26 #endif // CHROME_BROWSER_ANDROID_ANDROID_ACCESSIBILITY_UTIL_H_