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

Unified Diff: webrtc/sdk/objc/Framework/Classes/Common/helpers.h

Issue 2977213002: Reland of Injectable Obj-C video codecs (Closed)
Patch Set: Add checks to make sure destroy is called Created 3 years, 5 months 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698