Index: base/system_monitor/system_monitor.h |
diff --git a/base/system_monitor/system_monitor.h b/base/system_monitor/system_monitor.h |
index ea95da89ccbe9fb6635b8ae905b6415ac977ca24..b897d90ab739a6927c6efee18310666c6c062376 100644 |
--- a/base/system_monitor/system_monitor.h |
+++ b/base/system_monitor/system_monitor.h |
@@ -38,6 +38,10 @@ |
#include <objc/runtime.h> |
#endif // OS_IOS |
+#if defined(OS_ANDROID) |
+#include <jni.h> |
+#endif |
+ |
namespace base { |
// Class for monitoring various system-related subsystems |
@@ -95,6 +99,10 @@ class BASE_EXPORT SystemMonitor { |
#endif // OS_IOS |
#endif // OS_MACOSX |
+#if defined(OS_ANDROID) |
+ static bool RegisterSystemMonitor(JNIEnv* env); |
+#endif |
+ |
// Returns information for attached removable storage. |
std::vector<RemovableStorageInfo> GetAttachedRemovableStorage() const; |