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

Unified Diff: content/child/url_loader_client_impl.h

Issue 2926693002: Make content::ThrottlingURLLoader take a task runner and more efficient. (Closed)
Patch Set: sync & resolve Created 3 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 | « content/child/resource_dispatcher.cc ('k') | content/child/url_loader_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/url_loader_client_impl.h
diff --git a/content/child/url_loader_client_impl.h b/content/child/url_loader_client_impl.h
index 39fb7dbb5f2245e7b1a859e5b3a90f23d86764df..872c6782065a7a17abc443ebde59bc60d7317cb1 100644
--- a/content/child/url_loader_client_impl.h
+++ b/content/child/url_loader_client_impl.h
@@ -13,7 +13,6 @@
#include "content/common/content_export.h"
#include "content/common/url_loader.mojom.h"
#include "ipc/ipc_message.h"
-#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace base {
@@ -37,8 +36,6 @@ class CONTENT_EXPORT URLLoaderClientImpl final : public mojom::URLLoaderClient {
scoped_refptr<base::SingleThreadTaskRunner> task_runner);
~URLLoaderClientImpl() override;
- void Bind(mojom::URLLoaderClientPtr* client_ptr);
-
// Sets |is_deferred_|. From now, the received messages are not dispatched
// to clients until UnsetDefersLoading is called.
void SetDefersLoading();
@@ -69,7 +66,6 @@ class CONTENT_EXPORT URLLoaderClientImpl final : public mojom::URLLoaderClient {
bool NeedsStoringMessage() const;
void StoreAndDispatch(const IPC::Message& message);
- mojo::Binding<mojom::URLLoaderClient> binding_;
scoped_refptr<URLResponseBodyConsumer> body_consumer_;
mojom::DownloadedTempFilePtr downloaded_file_;
std::vector<IPC::Message> deferred_messages_;
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/child/url_loader_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698