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

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

Issue 2076263003: Plumb the handle signals state to Awakable::Awake(). (Closed) Base URL: https://github.com/domokit/mojo.git@work794_wait_set_4.2
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_list.cc ('k') | mojo/edk/system/core_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/awakable_list_unittest.cc
diff --git a/mojo/edk/system/awakable_list_unittest.cc b/mojo/edk/system/awakable_list_unittest.cc
index 5bf77b49e3a38c66330b3a5cc12fa961777ce0c3..d193e5c85b006104286275288087173a442d9a22 100644
--- a/mojo/edk/system/awakable_list_unittest.cc
+++ b/mojo/edk/system/awakable_list_unittest.cc
@@ -379,7 +379,9 @@ class KeepAwakable : public Awakable {
public:
KeepAwakable() : awake_count(0) {}
- bool Awake(MojoResult result, uint64_t context) override {
+ bool Awake(uint64_t context,
+ AwakeReason reason,
+ const HandleSignalsState& signals_state) override {
awake_count++;
return true;
}
@@ -393,7 +395,9 @@ class RemoveAwakable : public Awakable {
public:
RemoveAwakable() : awake_count(0) {}
- bool Awake(MojoResult result, uint64_t context) override {
+ bool Awake(uint64_t /*context*/,
+ AwakeReason /*reason*/,
+ const HandleSignalsState& /*signals_state*/) override {
awake_count++;
return false;
}
« no previous file with comments | « mojo/edk/system/awakable_list.cc ('k') | mojo/edk/system/core_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698