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

Unified Diff: mojo/public/c/environment/async_waiter.h

Issue 1765243002: Remove Mojo bindings environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/public/c/environment/BUILD.gn ('k') | mojo/public/c/environment/logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/environment/async_waiter.h
diff --git a/mojo/public/c/environment/async_waiter.h b/mojo/public/c/environment/async_waiter.h
deleted file mode 100644
index 1eb06317d70f25b4a4ec357bb31771659f8ec9d9..0000000000000000000000000000000000000000
--- a/mojo/public/c/environment/async_waiter.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 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_PUBLIC_C_ENVIRONMENT_ASYNC_WAITER_H_
-#define MOJO_PUBLIC_C_ENVIRONMENT_ASYNC_WAITER_H_
-
-#include "mojo/public/c/system/types.h"
-
-typedef uintptr_t MojoAsyncWaitID;
-
-typedef void (*MojoAsyncWaitCallback)(void* closure, MojoResult result);
-
-struct MojoAsyncWaiter {
- // Asynchronously call MojoWait on a background thread, and pass the result
- // of MojoWait to the given MojoAsyncWaitCallback on the current thread.
- // Returns a non-zero MojoAsyncWaitID that can be used with CancelWait to
- // stop waiting. This identifier becomes invalid once the callback runs.
- MojoAsyncWaitID (*AsyncWait)(MojoHandle handle,
- MojoHandleSignals signals,
- MojoDeadline deadline,
- MojoAsyncWaitCallback callback,
- void* closure);
-
- // Cancel an existing call to AsyncWait with the given MojoAsyncWaitID. The
- // corresponding MojoAsyncWaitCallback will not be called in this case.
- void (*CancelWait)(MojoAsyncWaitID wait_id);
-};
-
-#endif // MOJO_PUBLIC_C_ENVIRONMENT_ASYNC_WAITER_H_
« no previous file with comments | « mojo/public/c/environment/BUILD.gn ('k') | mojo/public/c/environment/logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698