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

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

Issue 2084593005: Rationalize AddAwakable...() and RemoveAwakable...() methods. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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/core.cc ('k') | mojo/edk/system/core_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core_test_base.h
diff --git a/mojo/edk/system/core_test_base.h b/mojo/edk/system/core_test_base.h
index 4bdaa6e2cd915a4e889d7f46003b5d915ddcb550..b828e768f5f3f4c0b5fa22a8edb8afe6c6f99a50 100644
--- a/mojo/edk/system/core_test_base.h
+++ b/mojo/edk/system/core_test_base.h
@@ -81,7 +81,6 @@ class CoreTestBase_MockHandleInfo {
unsigned GetMapBufferCallCount() const;
unsigned GetAddAwakableCallCount() const;
unsigned GetRemoveAwakableCallCount() const;
- unsigned GetRemoveAwakableWithContextCallCount() const;
unsigned GetCancelAllStateCallCount() const;
size_t GetAddedAwakableSize() const;
@@ -105,7 +104,6 @@ class CoreTestBase_MockHandleInfo {
void IncrementMapBufferCallCount();
void IncrementAddAwakableCallCount();
void IncrementRemoveAwakableCallCount();
- void IncrementRemoveAwakableWithContextCallCount();
void IncrementCancelAllStateCallCount();
void AllowAddAwakable(bool alllow);
@@ -131,7 +129,6 @@ class CoreTestBase_MockHandleInfo {
unsigned map_buffer_call_count_ MOJO_GUARDED_BY(mutex_) = 0;
unsigned add_awakable_call_count_ MOJO_GUARDED_BY(mutex_) = 0;
unsigned remove_awakable_call_count_ MOJO_GUARDED_BY(mutex_) = 0;
- unsigned remove_awakable_with_context_call_count_ MOJO_GUARDED_BY(mutex_) = 0;
unsigned cancel_all_awakables_call_count_ MOJO_GUARDED_BY(mutex_) = 0;
bool add_awakable_allowed_ MOJO_GUARDED_BY(mutex_) = false;
« no previous file with comments | « mojo/edk/system/core.cc ('k') | mojo/edk/system/core_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698