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

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

Issue 1408003013: Reland "EDK: Move //mojo/edk/system/waitable_event* to edk/util." (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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/test/test_io_thread.cc ('k') | mojo/edk/system/test_channel_endpoint_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/test_channel_endpoint_client.h
diff --git a/mojo/edk/system/test_channel_endpoint_client.h b/mojo/edk/system/test_channel_endpoint_client.h
index 420d0b85cafed6cf3c1febb7b4f93861f7f01760..f2296ffd704642394b1ae7a10b17d3ad691342ac 100644
--- a/mojo/edk/system/test_channel_endpoint_client.h
+++ b/mojo/edk/system/test_channel_endpoint_client.h
@@ -16,10 +16,12 @@
#include "mojo/public/cpp/system/macros.h"
namespace mojo {
-namespace system {
+namespace util {
class ManualResetWaitableEvent;
+}
+namespace system {
namespace test {
class TestChannelEndpointClient final : public ChannelEndpointClient {
@@ -41,7 +43,7 @@ class TestChannelEndpointClient final : public ChannelEndpointClient {
// Sets an event to signal when we receive a message. (|read_event| must live
// until this object is destroyed or the read event is reset to null.)
- void SetReadEvent(ManualResetWaitableEvent* read_event);
+ void SetReadEvent(util::ManualResetWaitableEvent* read_event);
// |ChannelEndpointClient| implementation:
bool OnReadMessage(unsigned port, MessageInTransit* message) override;
@@ -61,7 +63,7 @@ class TestChannelEndpointClient final : public ChannelEndpointClient {
MessageInTransitQueue messages_ MOJO_GUARDED_BY(mutex_);
// Event to trigger if we read a message (may be null).
- ManualResetWaitableEvent* read_event_ MOJO_GUARDED_BY(mutex_);
+ util::ManualResetWaitableEvent* read_event_ MOJO_GUARDED_BY(mutex_);
MOJO_DISALLOW_COPY_AND_ASSIGN(TestChannelEndpointClient);
};
« no previous file with comments | « mojo/edk/system/test/test_io_thread.cc ('k') | mojo/edk/system/test_channel_endpoint_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698