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

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

Issue 1483823004: EDK: Move {platform_handle,scoped_platform_handle}.* to //mojo/edk/platform. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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_utils_posix.cc ('k') | mojo/edk/embedder/platform_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/platform_shared_buffer.h
diff --git a/mojo/edk/embedder/platform_shared_buffer.h b/mojo/edk/embedder/platform_shared_buffer.h
index 8907366530861027f673301ed699c126032396f4..219dc359bbab8626b0c818c63db0a213d6579457 100644
--- a/mojo/edk/embedder/platform_shared_buffer.h
+++ b/mojo/edk/embedder/platform_shared_buffer.h
@@ -9,7 +9,7 @@
#include <memory>
-#include "mojo/edk/embedder/scoped_platform_handle.h"
+#include "mojo/edk/platform/scoped_platform_handle.h"
#include "mojo/edk/util/ref_counted.h"
#include "mojo/public/cpp/system/macros.h"
@@ -56,13 +56,13 @@ class PlatformSharedBuffer
// Duplicates the underlying platform handle and passes it to the caller.
// TODO(vtl): On POSIX, we'll need two FDs to support sharing read-only.
- virtual ScopedPlatformHandle DuplicatePlatformHandle() = 0;
+ virtual platform::ScopedPlatformHandle DuplicatePlatformHandle() = 0;
// Passes the underlying platform handle to the caller. This should only be
// called if there's a unique reference to this object (owned by the caller).
// After calling this, this object should no longer be used, but should only
// be disposed of.
- virtual ScopedPlatformHandle PassPlatformHandle() = 0;
+ virtual platform::ScopedPlatformHandle PassPlatformHandle() = 0;
protected:
friend class util::RefCountedThreadSafe<PlatformSharedBuffer>;
« no previous file with comments | « mojo/edk/embedder/platform_handle_utils_posix.cc ('k') | mojo/edk/embedder/platform_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698