| Index: base/power_monitor/power_monitor_android.h
|
| diff --git a/base/android/important_file_writer_android.h b/base/power_monitor/power_monitor_android.h
|
| similarity index 43%
|
| copy from base/android/important_file_writer_android.h
|
| copy to base/power_monitor/power_monitor_android.h
|
| index 20956babcea94fbd33762f0d7eaa5fed15a05c45..7f4316488fbec6e9b53b04f463cacfa38372f842 100644
|
| --- a/base/android/important_file_writer_android.h
|
| +++ b/base/power_monitor/power_monitor_android.h
|
| @@ -2,17 +2,16 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
|
| -#define NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
|
| +#ifndef BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
|
| +#define BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
|
|
|
| #include <jni.h>
|
|
|
| namespace base {
|
| -namespace android {
|
|
|
| -bool RegisterImportantFileWriterAndroid(JNIEnv* env);
|
| +// Registers the JNI bindings for PowerMonitor.
|
| +bool RegisterPowerMonitor(JNIEnv* env);
|
|
|
| -} // namespace android
|
| } // namespace base
|
|
|
| -#endif // NATIVE_FRAMEWORK_CHROME_IMPORTANT_FILE_WRITE_ANDROID_H_
|
| +#endif // BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
|
|
|