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

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

Issue 2072353002: Give AwakableList's wake-up method the old state in addition to the new state. (Closed) Base URL: https://github.com/domokit/mojo.git@master
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 | « no previous file | mojo/edk/system/awakable_list.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/awakable_list.h
diff --git a/mojo/edk/system/awakable_list.h b/mojo/edk/system/awakable_list.h
index 6275159987574b912e61d5ea1dfe340605626faf..7e4b732ad1c662c7bf4fa6fe8712f9063325cb8d 100644
--- a/mojo/edk/system/awakable_list.h
+++ b/mojo/edk/system/awakable_list.h
@@ -30,7 +30,8 @@ class AwakableList {
AwakableList();
~AwakableList();
- void AwakeForStateChange(const HandleSignalsState& state);
+ void OnStateChange(const HandleSignalsState& old_state,
+ const HandleSignalsState& new_state);
void CancelAll();
void Add(Awakable* awakable, MojoHandleSignals signals, uint64_t context);
void Remove(Awakable* awakable);
« no previous file with comments | « no previous file | mojo/edk/system/awakable_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698