Index: webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
diff --git a/webrtc/sdk/objc/Framework/Classes/Common/helpers.h b/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
index d9e1d7fa649d3dae95b72abd6407916cd39fda44..fdcd9ccb569b68c583ab4ed8d9cc9feb06035da5 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
+++ b/webrtc/sdk/objc/Framework/Classes/Common/helpers.h |
@@ -11,8 +11,6 @@ |
#ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |
#define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |
-#if defined(WEBRTC_IOS) |
- |
#include <string> |
namespace webrtc { |
@@ -33,6 +31,7 @@ std::string GetThreadInfo(); |
// Example: <NSThread: 0x170066d80>{number = 1, name = main} |
std::string GetCurrentThreadDescription(); |
+#if defined(WEBRTC_IOS) |
// Returns the current name of the operating system. |
std::string GetSystemName(); |
@@ -46,6 +45,7 @@ double GetSystemVersion(); |
// Returns the device type. |
// Examples: ”iPhone” and ”iPod touch”. |
std::string GetDeviceType(); |
+#endif // defined(WEBRTC_IOS) |
// Returns a more detailed device name. |
// Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus". |
@@ -65,12 +65,12 @@ std::string GetOSVersionString(); |
// Returns the number of processing cores available on the device. |
int GetProcessorCount(); |
+#if defined(WEBRTC_IOS) |
// Indicates whether Low Power Mode is enabled on the iOS device. |
bool GetLowPowerModeEnabled(); |
+#endif |
} // namespace ios |
} // namespace webrtc |
-#endif // defined(WEBRTC_IOS) |
- |
#endif // WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_ |