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

Unified Diff: mojo/public/cpp/bindings/strong_binding.h

Issue 2038273002: Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: is_constructible Created 4 years, 6 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 | « mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h ('k') | mojo/public/cpp/bindings/struct_ptr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/strong_binding.h
diff --git a/mojo/public/cpp/bindings/strong_binding.h b/mojo/public/cpp/bindings/strong_binding.h
index 3694c68082740332dbe310cec973183e430eec02..5c48eae08b195d28a7e171585f1e4ea04e74841f 100644
--- a/mojo/public/cpp/bindings/strong_binding.h
+++ b/mojo/public/cpp/bindings/strong_binding.h
@@ -8,6 +8,7 @@
#include <utility>
#include "base/logging.h"
+#include "base/macros.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/bindings/callback.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
@@ -48,8 +49,6 @@ namespace mojo {
// bound, it may be bound or destroyed on any thread.
template <typename Interface>
class StrongBinding {
- MOVE_ONLY_TYPE_FOR_CPP_03(StrongBinding);
-
public:
explicit StrongBinding(Interface* impl) : binding_(impl) {}
@@ -113,6 +112,8 @@ class StrongBinding {
private:
Closure connection_error_handler_;
Binding<Interface> binding_;
+
+ DISALLOW_COPY_AND_ASSIGN(StrongBinding);
};
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/bindings/scoped_interface_endpoint_handle.h ('k') | mojo/public/cpp/bindings/struct_ptr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698