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

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

Issue 2047633002: Revert of Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/interface_ptr_info.h ('k') | mojo/public/cpp/bindings/lib/filter_chain.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/interface_request.h
diff --git a/mojo/public/cpp/bindings/interface_request.h b/mojo/public/cpp/bindings/interface_request.h
index fc23aec3ee73be187dabf450972a4a8906cf3626..26e7b53cdc1e514ec49c47bab4bb356db39e44a8 100644
--- a/mojo/public/cpp/bindings/interface_request.h
+++ b/mojo/public/cpp/bindings/interface_request.h
@@ -7,7 +7,6 @@
#include <utility>
-#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_task_runner_handle.h"
#include "mojo/public/cpp/bindings/interface_ptr.h"
@@ -22,6 +21,7 @@
// if the client did not provide a message pipe.
template <typename Interface>
class InterfaceRequest {
+ MOVE_ONLY_TYPE_FOR_CPP_03(InterfaceRequest);
public:
// Constructs an empty InterfaceRequest, representing that the client is not
// requesting an implementation of Interface.
@@ -66,8 +66,6 @@
private:
ScopedMessagePipeHandle handle_;
-
- DISALLOW_COPY_AND_ASSIGN(InterfaceRequest);
};
// Makes an InterfaceRequest bound to the specified message pipe. If |handle|
« no previous file with comments | « mojo/public/cpp/bindings/interface_ptr_info.h ('k') | mojo/public/cpp/bindings/lib/filter_chain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698