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

Unified Diff: mojo/edk/embedder/scoped_platform_handle.h

Issue 1346643003: Convert base::ScopedFD to (mojo::embedder::)ScopedPlatformHandle. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 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/edk/embedder/platform_handle.h ('k') | mojo/edk/embedder/simple_platform_shared_buffer_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/scoped_platform_handle.h
diff --git a/mojo/edk/embedder/scoped_platform_handle.h b/mojo/edk/embedder/scoped_platform_handle.h
index aec44825667f6b90809449296dc8265cb72185db..0e8058352150c5d92aa9c24163c2ab5899ebcb84 100644
--- a/mojo/edk/embedder/scoped_platform_handle.h
+++ b/mojo/edk/embedder/scoped_platform_handle.h
@@ -13,6 +13,8 @@
namespace mojo {
namespace embedder {
+// Scoper for |PlatformHandle|s, which are file descriptors on POSIX and
+// |HANDLE|s on Windows.
class MOJO_SYSTEM_IMPL_EXPORT ScopedPlatformHandle {
MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(ScopedPlatformHandle)
« no previous file with comments | « mojo/edk/embedder/platform_handle.h ('k') | mojo/edk/embedder/simple_platform_shared_buffer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698