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

Unified Diff: mojo/platform_handle/platform_handle_functions.h

Issue 1123453003: Revert of Adds thunks for getting platform handles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: mojo/platform_handle/platform_handle_functions.h
diff --git a/mojo/platform_handle/platform_handle_functions.h b/mojo/platform_handle/platform_handle_functions.h
deleted file mode 100644
index dec5d1f187492ddb558d4c3424875fda68639118..0000000000000000000000000000000000000000
--- a/mojo/platform_handle/platform_handle_functions.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2015 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_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
-#define MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
-
-#include "mojo/platform_handle/platform_handle.h"
-#include "mojo/platform_handle/platform_handle_exports.h"
-#include "third_party/mojo/src/mojo/public/c/system/types.h"
-
-extern "C" {
-
-// Wraps |platform_handle| in a MojoHandle so that it can transported, returns
-// true on success. This takes ownership of |platform_handle|, regardless of
-// whether this succeeds.
-PLATFORM_HANDLE_EXPORT MojoResult
-MojoCreatePlatformHandleWrapper(MojoPlatformHandle platform_handle,
- MojoHandle* wrapper);
-
-PLATFORM_HANDLE_EXPORT MojoResult
-MojoExtractPlatformHandle(MojoHandle wrapper,
- MojoPlatformHandle* platform_handle);
-
-} // extern "C"
-
-#endif // MOJO_PLATFORM_HANDLE_PLATFORM_HANDLE_FUNCTIONS_H_
« no previous file with comments | « mojo/platform_handle/platform_handle_exports.h ('k') | mojo/platform_handle/platform_handle_private_thunks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698