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

Unified Diff: media/base/bind_to_current_loop.h.pump

Issue 132163006: Rename media/base/bind_to_loop.h to media/base/bind_to_current_loop.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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: media/base/bind_to_current_loop.h.pump
diff --git a/media/base/bind_to_loop.h.pump b/media/base/bind_to_current_loop.h.pump
similarity index 93%
rename from media/base/bind_to_loop.h.pump
rename to media/base/bind_to_current_loop.h.pump
index 3529c21d2195ffccc2cc889f8b111fe7b30b67e9..4ce33de0098502c423d43d60b6adc3d4723c4619 100644
--- a/media/base/bind_to_loop.h.pump
+++ b/media/base/bind_to_current_loop.h.pump
@@ -12,8 +12,8 @@ $var MAX_ARITY = 7
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_BASE_BIND_TO_LOOP_H_
-#define MEDIA_BASE_BIND_TO_LOOP_H_
+#ifndef MEDIA_BASE_BIND_TO_CURRENT_LOOP_H_
+#define MEDIA_BASE_BIND_TO_CURRENT_LOOP_H_
#include "base/bind.h"
#include "base/location.h"
@@ -78,8 +78,6 @@ $for ARG , [[internal::TrampolineForward(a$(ARG))]]));
} // namespace internal
-// TODO(scherkus): Rename me to something that emphasizes the asynchrony
-// http://crbug.com/167240
template<typename T>
static base::Callback<T> BindToCurrentLoop(
const base::Callback<T>& cb) {
@@ -89,4 +87,4 @@ static base::Callback<T> BindToCurrentLoop(
} // namespace media
-#endif // MEDIA_BASE_BIND_TO_LOOP_H_
+#endif // MEDIA_BASE_BIND_TO_CURRENT_LOOP_H_

Powered by Google App Engine
This is Rietveld 408576698