OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_ | 5 #ifndef BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_ |
6 #define NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_ | 6 #define BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 namespace android { | |
12 | 11 |
13 bool RegisterImportantFileWriterAndroid(JNIEnv* env); | 12 // Registers the JNI bindings for PowerMonitor. |
| 13 bool RegisterPowerMonitor(JNIEnv* env); |
14 | 14 |
15 } // namespace android | |
16 } // namespace base | 15 } // namespace base |
17 | 16 |
18 #endif // NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_ | 17 #endif // BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_ |
OLD | NEW |