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

Unified Diff: net/base/file_stream_context.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/system/handle.h ('k') | remoting/base/typed_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index aaff5adbdd8603b98fda34806812e692b8640dbd..32703d808cef7396cd171dca168511025168dbe1 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -33,6 +33,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "base/move.h"
#include "base/single_thread_task_runner.h"
#include "base/task_runner.h"
#include "net/base/completion_callback.h"
@@ -112,6 +113,7 @@
};
struct OpenResult {
+ MOVE_ONLY_TYPE_FOR_CPP_03(OpenResult)
public:
OpenResult();
OpenResult(base::File file, IOResult error_code);
@@ -120,9 +122,6 @@
base::File file;
IOResult error_code;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(OpenResult);
};
////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « mojo/public/cpp/system/handle.h ('k') | remoting/base/typed_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698