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

Unified Diff: mojo/edk/system/dispatcher.h

Issue 2070523003: EDK: wait sets: Implement WaitSetDispatcher::WaitSet{AddRemove}Impl(). (Closed) Base URL: https://github.com/domokit/mojo.git@work796_wait_set_3.5
Patch Set: -) Created 4 years, 6 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/system/BUILD.gn ('k') | mojo/edk/system/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/dispatcher.h
diff --git a/mojo/edk/system/dispatcher.h b/mojo/edk/system/dispatcher.h
index e80ae7af11769232519ea963535d2141d0d933ac..6369f04cdab0e313bc8bc4462674192cccf3d17f 100644
--- a/mojo/edk/system/dispatcher.h
+++ b/mojo/edk/system/dispatcher.h
@@ -171,7 +171,7 @@ class Dispatcher : public util::RefCountedThreadSafe<Dispatcher> {
// |EntrypointClass::WAIT_SET|:
MojoResult WaitSetAdd(UserPointer<const MojoWaitSetAddOptions> options,
- Handle&& handle,
+ util::RefPtr<Dispatcher>&& dispatcher,
MojoHandleSignals signals,
uint64_t cookie);
MojoResult WaitSetRemove(uint64_t cookie);
@@ -390,7 +390,7 @@ class Dispatcher : public util::RefCountedThreadSafe<Dispatcher> {
// |MOJO_RESULT_INVALID_ARGUMENT| if it is true).
virtual MojoResult WaitSetAddImpl(
UserPointer<const MojoWaitSetAddOptions> options,
- Handle&& handle,
+ util::RefPtr<Dispatcher>&& dispatcher,
MojoHandleSignals signals,
uint64_t cookie);
virtual MojoResult WaitSetRemoveImpl(uint64_t cookie);
« no previous file with comments | « mojo/edk/system/BUILD.gn ('k') | mojo/edk/system/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698