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

Side by Side Diff: webrtc/modules/utility/source/helpers_ios.mm

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message 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
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #if defined(WEBRTC_IOS) 11 #if defined(WEBRTC_IOS)
12 12
13 #import <AVFoundation/AVFoundation.h> 13 #import <AVFoundation/AVFoundation.h>
14 #import <Foundation/Foundation.h> 14 #import <Foundation/Foundation.h>
15 #import <sys/sysctl.h> 15 #import <sys/sysctl.h>
16 #import <UIKit/UIKit.h> 16 #import <UIKit/UIKit.h>
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
19 #include "webrtc/base/logging.h" 19 #include "webrtc/base/logging.h"
20 #include "webrtc/base/scoped_ptr.h" 20 #include "webrtc/base/scoped_ptr.h"
21 #include "webrtc/modules/utility/interface/helpers_ios.h" 21 #include "webrtc/modules/utility/include/helpers_ios.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 namespace ios { 24 namespace ios {
25 25
26 // TODO(henrika): move to shared location. 26 // TODO(henrika): move to shared location.
27 // See https://code.google.com/p/webrtc/issues/detail?id=4773 for details. 27 // See https://code.google.com/p/webrtc/issues/detail?id=4773 for details.
28 NSString* NSStringFromStdString(const std::string& stdString) { 28 NSString* NSStringFromStdString(const std::string& stdString) {
29 // std::string may contain null termination character so we construct 29 // std::string may contain null termination character so we construct
30 // using length. 30 // using length.
31 return [[NSString alloc] initWithBytes:stdString.data() 31 return [[NSString alloc] initWithBytes:stdString.data()
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 if (!raw_name.compare("x86_64")) 173 if (!raw_name.compare("x86_64"))
174 return std::string("Simulator"); 174 return std::string("Simulator");
175 LOG(LS_WARNING) << "Failed to find device name (" << raw_name << ")"; 175 LOG(LS_WARNING) << "Failed to find device name (" << raw_name << ")";
176 return raw_name; 176 return raw_name;
177 } 177 }
178 178
179 } // namespace ios 179 } // namespace ios
180 } // namespace webrtc 180 } // namespace webrtc
181 181
182 #endif // defined(WEBRTC_IOS) 182 #endif // defined(WEBRTC_IOS)
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/helpers_android.cc ('k') | webrtc/modules/utility/source/jvm_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698