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

Unified Diff: media/cast/test/utility/udp_proxy_main.cc

Issue 248083005: Reland: [Cast] Consolidate plethora of GYP files into cast.gyp and cast_testing.gypi. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes to problems exposed by r265481. Created 6 years, 8 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 | « media/cast/test/utility/generate_timecode_audio.cc ('k') | media/cast/test/utility/utility.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/utility/udp_proxy_main.cc
diff --git a/media/cast/test/utility/udp_proxy_main.cc b/media/cast/test/utility/udp_proxy_main.cc
index 58019b4b7bc5dcd090d887bbbc3ea797ec57827a..68a885f20dfce1592a1b9bfd9385d297cd1e2f34 100644
--- a/media/cast/test/utility/udp_proxy_main.cc
+++ b/media/cast/test/utility/udp_proxy_main.cc
@@ -10,6 +10,7 @@
#include "base/bind.h"
#include "base/command_line.h"
#include "base/logging.h"
+#include "base/message_loop/message_loop.h"
#include "media/cast/test/utility/udp_proxy.h"
int main(int argc, char** argv) {
@@ -56,8 +57,6 @@ int main(int argc, char** argv) {
in_pipe.Pass(),
out_pipe.Pass(),
NULL));
- while (true) {
- sleep(1000);
- }
+ base::MessageLoop().Run(); // Run forever.
return 1;
}
« no previous file with comments | « media/cast/test/utility/generate_timecode_audio.cc ('k') | media/cast/test/utility/utility.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698