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

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

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
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_
« no previous file with comments | « webrtc/examples/peerconnection/server/server_test.html ('k') | webrtc/examples/peerconnection/server/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698