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

Unified Diff: content/child/url_loader_client_impl.h

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: +NOTREACHED on non frame trasfer Created 3 years, 11 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_loader_client_impl.h
diff --git a/content/child/url_loader_client_impl.h b/content/child/url_loader_client_impl.h
index 4366828c36d740a4a82d868247a57ceb38dc9792..7ebf3a272c83cc1b19b2db06887f702e44c88c63 100644
--- a/content/child/url_loader_client_impl.h
+++ b/content/child/url_loader_client_impl.h
@@ -55,8 +55,9 @@ class CONTENT_EXPORT URLLoaderClientImpl final : public mojom::URLLoaderClient {
void FlushDeferredMessages();
// mojom::URLLoaderClient implementation
- void OnReceiveResponse(const ResourceResponseHead& response_head,
- mojom::DownloadedTempFilePtr downloaded_file) override;
+ void OnReceiveResponse(
+ const ResourceResponseHead& response_head,
+ mojom::DownloadedTempFileAssociatedPtrInfo downloaded_file) override;
void OnReceiveRedirect(const net::RedirectInfo& redirect_info,
const ResourceResponseHead& response_head) override;
void OnDataDownloaded(int64_t data_len, int64_t encoded_data_len) override;
@@ -71,7 +72,7 @@ class CONTENT_EXPORT URLLoaderClientImpl final : public mojom::URLLoaderClient {
mojo::AssociatedBinding<mojom::URLLoaderClient> binding_;
scoped_refptr<URLResponseBodyConsumer> body_consumer_;
- mojom::DownloadedTempFilePtr downloaded_file_;
+ mojom::DownloadedTempFileAssociatedPtr downloaded_file_;
std::vector<IPC::Message> deferred_messages_;
const int request_id_;
bool has_received_response_ = false;
« no previous file with comments | « content/browser/service_worker/service_worker_fetch_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