Index: webrtc/examples/peerconnection/server/utils.h |
diff --git a/webrtc/base/atomicops_unittest.cc b/webrtc/examples/peerconnection/server/utils.h |
similarity index 53% |
copy from webrtc/base/atomicops_unittest.cc |
copy to webrtc/examples/peerconnection/server/utils.h |
index 2aa28cac61be8ebcacd145565734016076b66506..e70968b87537c80eb0b9dee08db79a40c6855b2c 100644 |
--- a/webrtc/base/atomicops_unittest.cc |
+++ b/webrtc/examples/peerconnection/server/utils.h |
@@ -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. |
+#ifndef TALK_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ |
+#define TALK_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ |
+#pragma once |
+ |
+#include <assert.h> |
+#include <string> |
+ |
+#ifndef ARRAYSIZE |
+#define ARRAYSIZE(x) (sizeof(x) / sizeof(x[0])) |
+#endif |
+ |
+std::string int2str(int i); |
+std::string size_t2str(size_t i); |
+ |
+#endif // TALK_EXAMPLES_PEERCONNECTION_SERVER_UTILS_H_ |