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); |
+} |