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

Unified Diff: content/child/scoped_web_callbacks.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 | « content/browser/renderer_host/media/audio_input_debug_writer.h ('k') | dbus/file_descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/scoped_web_callbacks.h
diff --git a/content/child/scoped_web_callbacks.h b/content/child/scoped_web_callbacks.h
index fac339163d650e0eb43469becf11f12a8cf79f98..43a5ef3db598dc1110301a423673c8b924b1e074 100644
--- a/content/child/scoped_web_callbacks.h
+++ b/content/child/scoped_web_callbacks.h
@@ -9,8 +9,8 @@
#include <utility>
#include "base/callback.h"
+#include "base/macros.h"
#include "base/memory/ptr_util.h"
-#include "base/move.h"
#include "third_party/WebKit/public/platform/WebCallbacks.h"
// A ScopedWebCallbacks is a move-only scoper which helps manage the lifetime of
@@ -67,8 +67,6 @@
// our desired default behavior before deleting the WebCallbacks.
template <typename CallbacksType>
class ScopedWebCallbacks {
- MOVE_ONLY_TYPE_FOR_CPP_03(ScopedWebCallbacks);
-
public:
using DestructionCallback =
base::Callback<void(std::unique_ptr<CallbacksType> callbacks)>;
@@ -98,6 +96,8 @@ class ScopedWebCallbacks {
private:
std::unique_ptr<CallbacksType> callbacks_;
DestructionCallback destruction_callback_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedWebCallbacks);
};
template <typename CallbacksType>
« no previous file with comments | « content/browser/renderer_host/media/audio_input_debug_writer.h ('k') | dbus/file_descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698