Index: base/callback_forward.h |
diff --git a/base/callback_forward.h b/base/callback_forward.h |
index a9a263a50ea77517e6514792843660d6d25435ca..edb1e960445fe7d33ec84e74f534c9708d5a4745 100644 |
--- a/base/callback_forward.h |
+++ b/base/callback_forward.h |
@@ -7,7 +7,16 @@ |
namespace base { |
-template <typename Sig> |
+namespace internal { |
+ |
+enum class CopyMode { |
+ MoveOnly, Copyable, |
Nico
2016/02/15 21:47:57
Please give these two a comment explaining what th
tzik
2016/02/16 09:33:32
Added a brief comment.
|
+}; |
+ |
+} // namespace internal |
+ |
+template <typename Signature, |
+ internal::CopyMode copy_mode = internal::CopyMode::Copyable> |
class Callback; |
// Syntactic sugar to make Callback<void()> easier to declare since it |