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

Unified Diff: content/child/url_response_body_consumer.h

Issue 2725133002: Mojo: Armed Watchers (Closed)
Patch Set: . Created 3 years, 9 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
Index: content/child/url_response_body_consumer.h
diff --git a/content/child/url_response_body_consumer.h b/content/child/url_response_body_consumer.h
index 1c33aaada7066d2247e73d6070aba40e174b86b3..ce6b88a9f4c81ee0a799b5e02ead5bb896b19e5d 100644
--- a/content/child/url_response_body_consumer.h
+++ b/content/child/url_response_body_consumer.h
@@ -18,7 +18,7 @@
#include "content/common/content_export.h"
#include "content/common/url_loader.mojom.h"
#include "mojo/public/cpp/system/data_pipe.h"
-#include "mojo/public/cpp/system/watcher.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
namespace content {
@@ -71,7 +71,7 @@ class CONTENT_EXPORT URLResponseBodyConsumer final
const int request_id_;
ResourceDispatcher* resource_dispatcher_;
mojo::ScopedDataPipeConsumerHandle handle_;
- mojo::Watcher handle_watcher_;
+ mojo::SimpleWatcher handle_watcher_;
ResourceRequestCompletionStatus completion_status_;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
« no previous file with comments | « content/browser/shared_worker/shared_worker_service_impl_unittest.cc ('k') | content/child/url_response_body_consumer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698