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

Unified Diff: mojo/edk/platform/scoped_platform_handle.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/platform/platform_handle.cc ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/platform/scoped_platform_handle.h
diff --git a/mojo/edk/embedder/scoped_platform_handle.h b/mojo/edk/platform/scoped_platform_handle.h
similarity index 85%
rename from mojo/edk/embedder/scoped_platform_handle.h
rename to mojo/edk/platform/scoped_platform_handle.h
index fca39909b80e95512aa8c9288fcd5652ae5467c1..448a76411ce826a74f5b339d878838871e22a27a 100644
--- a/mojo/edk/embedder/scoped_platform_handle.h
+++ b/mojo/edk/platform/scoped_platform_handle.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_
-#define MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_
+#ifndef MOJO_EDK_PLATFORM_SCOPED_PLATFORM_HANDLE_H_
+#define MOJO_EDK_PLATFORM_SCOPED_PLATFORM_HANDLE_H_
-#include "mojo/edk/embedder/platform_handle.h"
+#include "mojo/edk/platform/platform_handle.h"
#include "mojo/public/c/system/macros.h"
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
-namespace embedder {
+namespace platform {
// Scoper for |PlatformHandle|s, which are just file descriptors.
class ScopedPlatformHandle {
@@ -56,7 +56,7 @@ class ScopedPlatformHandle {
MOJO_MOVE_ONLY_TYPE(ScopedPlatformHandle);
};
-} // namespace embedder
+} // namespace platform
} // namespace mojo
-#endif // MOJO_EDK_EMBEDDER_SCOPED_PLATFORM_HANDLE_H_
+#endif // MOJO_EDK_PLATFORM_SCOPED_PLATFORM_HANDLE_H_
« no previous file with comments | « mojo/edk/platform/platform_handle.cc ('k') | mojo/edk/system/channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698