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

Unified Diff: webrtc/examples/peerconnection/server/utils.cc

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 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/examples/peerconnection/server/utils.h ('k') | webrtc/examples/relayserver/relayserver_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/peerconnection/server/utils.cc
diff --git a/webrtc/base/atomicops_unittest.cc b/webrtc/examples/peerconnection/server/utils.cc
similarity index 60%
copy from webrtc/base/atomicops_unittest.cc
copy to webrtc/examples/peerconnection/server/utils.cc
index 2aa28cac61be8ebcacd145565734016076b66506..93a6d053423b287a6fd3aafcd850874335c6e047 100644
--- a/webrtc/base/atomicops_unittest.cc
+++ b/webrtc/examples/peerconnection/server/utils.cc
@@ -8,5 +8,18 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-// TODO(pbos): Move AtomicOps tests to here from
-// webrtc/base/criticalsection_unittest.cc.
+#include "webrtc/examples/peerconnection/server/utils.h"
+
+#include <stdio.h>
+
+#include "webrtc/base/stringencode.h"
+
+using rtc::ToString;
+
+std::string int2str(int i) {
+ return ToString<int>(i);
+}
+
+std::string size_t2str(size_t i) {
+ return ToString<size_t>(i);
+}
« no previous file with comments | « webrtc/examples/peerconnection/server/utils.h ('k') | webrtc/examples/relayserver/relayserver_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698