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

Unified Diff: base/callback_forward.h

Issue 2394023003: Move out OnceCallback and RepeatingCallback from internal namespace (Closed)
Patch Set: rebase Created 4 years, 2 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 | « base/bind_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/callback_forward.h
diff --git a/base/callback_forward.h b/base/callback_forward.h
index ce4c3e7192d4d58571ccadf67c7661898c5357a2..13eed0eb0d2fd7e61f092698456fa92e04a46b3b 100644
--- a/base/callback_forward.h
+++ b/base/callback_forward.h
@@ -32,8 +32,6 @@ class Callback;
// will be used in a lot of APIs with delayed execution.
using Closure = Callback<void()>;
-namespace internal {
-
template <typename Signature>
using OnceCallback = Callback<Signature,
internal::CopyMode::MoveOnly,
@@ -45,7 +43,6 @@ using RepeatingCallback = Callback<Signature,
using OnceClosure = OnceCallback<void()>;
using RepeatingClosure = RepeatingCallback<void()>;
-} // namespace internal
} // namespace base
#endif // BASE_CALLBACK_FORWARD_H_
« no previous file with comments | « base/bind_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698