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

Unified Diff: content/browser/loader/mojo_async_resource_handler.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
« no previous file with comments | « chrome/browser/media/cast_remoting_sender.cc ('k') | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/mojo_async_resource_handler.h
diff --git a/content/browser/loader/mojo_async_resource_handler.h b/content/browser/loader/mojo_async_resource_handler.h
index b8cd1e57ec90cfe96e71e48d648daf255929e742..ce84d64bf100a441457cb5c8ae30d25f11d8ba6c 100644
--- a/content/browser/loader/mojo_async_resource_handler.h
+++ b/content/browser/loader/mojo_async_resource_handler.h
@@ -20,7 +20,7 @@
#include "content/public/common/resource_type.h"
#include "mojo/public/cpp/bindings/associated_binding.h"
#include "mojo/public/cpp/system/data_pipe.h"
-#include "mojo/public/cpp/system/watcher.h"
+#include "mojo/public/cpp/system/simple_watcher.h"
#include "net/base/io_buffer.h"
#include "net/base/request_priority.h"
@@ -137,7 +137,7 @@ class CONTENT_EXPORT MojoAsyncResourceHandler
base::TimeTicks response_started_ticks_;
int64_t reported_total_received_bytes_ = 0;
- mojo::Watcher handle_watcher_;
+ mojo::SimpleWatcher handle_watcher_;
std::unique_ptr<mojom::URLLoader> url_loader_;
mojom::URLLoaderClientPtr url_loader_client_;
scoped_refptr<net::IOBufferWithSize> buffer_;
« no previous file with comments | « chrome/browser/media/cast_remoting_sender.cc ('k') | content/browser/loader/mojo_async_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698