Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: base/power_monitor/power_monitor_android.h

Issue 10959020: SystemMonitor refactoring: move power state monitor into a separate class called PowerMonitor (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revert using Singleton pattern for PowerMonitor Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 BASE_SYSTEM_MONITOR_SYSTEM_MONITOR_ANDROID_H_ 5 #ifndef BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
6 #define BASE_SYSTEM_MONITOR_SYSTEM_MONITOR_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 11
12 // Registers the JNI bindings for SystemMonitor. 12 // Registers the JNI bindings for SystemMonitor.
13 bool RegisterSystemMonitor(JNIEnv* env); 13 bool RegisterSystemMonitor(JNIEnv* env);
14 14
15 } // namespace base 15 } // namespace base
16 16
17 #endif // BASE_SYSTEM_MONITOR_SYSTEM_MONITOR_ANDROID_H_ 17 #endif // BASE_POWER_MONITOR_POWER_MONITOR_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698