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

Unified Diff: content/child/url_loader_client_impl.h

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: typo fix 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 ada64af8cb5e5928565af62125c49ccc7ecc6295..0323801a331e708b28e8387b8bee4c1851f915c4 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;
@@ -70,7 +71,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;

Powered by Google App Engine
This is Rietveld 408576698