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

Unified Diff: remoting/base/typed_buffer.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 | « net/base/file_stream_context.h ('k') | storage/browser/blob/scoped_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/typed_buffer.h
diff --git a/remoting/base/typed_buffer.h b/remoting/base/typed_buffer.h
index 90239f07ffbdd15da524ec1fba0bf874bd0db7d5..26306fc439fb03f702d7606158ed5fac80f616bd 100644
--- a/remoting/base/typed_buffer.h
+++ b/remoting/base/typed_buffer.h
@@ -11,7 +11,7 @@
#include <algorithm>
#include "base/logging.h"
-#include "base/move.h"
+#include "base/macros.h"
namespace remoting {
@@ -21,8 +21,6 @@ namespace remoting {
// move-only semantics and typed buffer getters.
template <typename T>
class TypedBuffer {
- MOVE_ONLY_TYPE_FOR_CPP_03(TypedBuffer)
-
public:
TypedBuffer() : TypedBuffer(0) {}
@@ -83,6 +81,8 @@ class TypedBuffer {
// Length of the owned buffer in bytes.
uint32_t length_;
+
+ DISALLOW_COPY_AND_ASSIGN(TypedBuffer);
};
} // namespace remoting
« no previous file with comments | « net/base/file_stream_context.h ('k') | storage/browser/blob/scoped_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698