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

Unified Diff: mojo/common/invalid_typemapped_type.h

Issue 2561003002: Add mojo structs for ScopedFD and ScopedHandle. (Closed)
Patch Set: Created 4 years 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/common/common_custom_types_unittest.cc ('k') | mojo/common/platform_handle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/common/invalid_typemapped_type.h
diff --git a/mojo/common/invalid_typemapped_type.h b/mojo/common/invalid_typemapped_type.h
new file mode 100644
index 0000000000000000000000000000000000000000..2f8b6a5d7e1d324ddbcd66de2c259641289b6f4f
--- /dev/null
+++ b/mojo/common/invalid_typemapped_type.h
@@ -0,0 +1,24 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MOJO_COMMON_INVALID_TYPEMAPPED_TYPE_H_
+#define MOJO_COMMON_INVALID_TYPEMAPPED_TYPE_H_
+
+namespace mojo {
+namespace common {
+
+struct InvalidTypemappedType {
+ InvalidTypemappedType() = default;
+
+ InvalidTypemappedType(InvalidTypemappedType&& other) = default;
+ InvalidTypemappedType& operator=(InvalidTypemappedType&& other) = default;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(InvalidTypemappedType);
+};
+
+} // namespace common
+} // namespace mojo
+
+#endif // MOJO_COMMON_INVALID_TYPEMAPPED_TYPE_H_
« no previous file with comments | « mojo/common/common_custom_types_unittest.cc ('k') | mojo/common/platform_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698