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

Side by Side Diff: webrtc/modules/utility/interface/helpers_ios.h

Issue 1414793020: Remove interface directories kept to avoid breaking downstream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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
(Empty)
1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_
12 #define WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_
13
14 #pragma message("WARNING: utility/interface is DEPRECATED; use utility/include")
15
16 #if defined(WEBRTC_IOS)
17
18 #include <string>
19
20 namespace webrtc {
21 namespace ios {
22
23 bool CheckAndLogError(BOOL success, NSError* error);
24
25 std::string StdStringFromNSString(NSString* nsString);
26
27 // Return thread ID as a string.
28 std::string GetThreadId();
29
30 // Return thread ID as string suitable for debug logging.
31 std::string GetThreadInfo();
32
33 // Returns [NSThread currentThread] description as string.
34 // Example: <NSThread: 0x170066d80>{number = 1, name = main}
35 std::string GetCurrentThreadDescription();
36
37 std::string GetAudioSessionCategory();
38
39 // Returns the current name of the operating system.
40 std::string GetSystemName();
41
42 // Returns the current version of the operating system.
43 std::string GetSystemVersion();
44
45 // Returns the version of the operating system as a floating point value.
46 float GetSystemVersionAsFloat();
47
48 // Returns the device type.
49 // Examples: ”iPhone” and ”iPod touch”.
50 std::string GetDeviceType();
51
52 // Returns a more detailed device name.
53 // Examples: "iPhone 5s (GSM)" and "iPhone 6 Plus".
54 std::string GetDeviceName();
55
56 } // namespace ios
57 } // namespace webrtc
58
59 #endif // defined(WEBRTC_IOS)
60
61 #endif // WEBRTC_MODULES_UTILITY_INCLUDE_HELPERS_IOS_H_
OLDNEW
« no previous file with comments | « webrtc/modules/utility/interface/helpers_android.h ('k') | webrtc/modules/utility/interface/jvm_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698