Index: media/base/bind_to_loop.cc |
diff --git a/media/base/bind_to_loop.cc b/media/base/bind_to_loop.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e04591f255a6e16ed3acffa35d80255fed1e6494 |
--- /dev/null |
+++ b/media/base/bind_to_loop.cc |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "media/base/bind_to_loop.h" |
+ |
+namespace media { |
+ |
+namespace internal { |
+ |
+void TrampolineSyncCaller(const base::Closure& closure, |
+ base::WaitableEvent* waiter) { |
+ closure.Run(); |
+ waiter->Signal(); |
+} |
+ |
+} // namespace internal |
+ |
+} // namespace media |