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

Unified Diff: mojo/edk/system/awakable.cc

Issue 2088833003: Add different behavior to AwakableList for "persistent" vs "one-shot" awakables. (Closed) Base URL: https://github.com/domokit/mojo.git@work793_wait_set_4.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/awakable.h ('k') | mojo/edk/system/awakable_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/awakable.cc
diff --git a/mojo/edk/system/awakable.cc b/mojo/edk/system/awakable.cc
index f3d233639d96a97b6cac845d27306370400bf7b9..39539dd0cc08781dba9b4642cec1d28c293dca95 100644
--- a/mojo/edk/system/awakable.cc
+++ b/mojo/edk/system/awakable.cc
@@ -18,6 +18,8 @@ MojoResult Awakable::MojoResultForAwakeReason(AwakeReason reason) {
return MOJO_RESULT_FAILED_PRECONDITION;
case AwakeReason::CANCELLED:
return MOJO_RESULT_CANCELLED;
+ case AwakeReason::CHANGED:
+ break;
}
NOTREACHED();
return MOJO_RESULT_INTERNAL;
« no previous file with comments | « mojo/edk/system/awakable.h ('k') | mojo/edk/system/awakable_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698