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

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

Issue 2979973002: Revert of Injectable Obj-C video codecs (Closed)
Patch Set: 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
« no previous file with comments | « webrtc/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fdcd9ccb569b68c583ab4ed8d9cc9feb06035da5..d9e1d7fa649d3dae95b72abd6407916cd39fda44 100644
--- a/webrtc/sdk/objc/Framework/Classes/Common/helpers.h
+++ b/webrtc/sdk/objc/Framework/Classes/Common/helpers.h
@@ -10,6 +10,8 @@
#ifndef WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_
#define WEBRTC_SDK_OBJC_FRAMEWORK_CLASSES_COMMON_HELPERS_H_
+
+#if defined(WEBRTC_IOS)
#include <string>
@@ -31,7 +33,6 @@
// 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();
@@ -45,7 +46,6 @@
// 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 @@
// 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_
« no previous file with comments | « webrtc/sdk/BUILD.gn ('k') | webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCEncodedImage.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698