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

Unified Diff: content/browser/loader/downloaded_temp_file_impl.h

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: update LayoutTest/TestExpectations Created 4 years 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/browser/loader/downloaded_temp_file_impl.h
diff --git a/content/browser/loader/downloaded_temp_file_impl.h b/content/browser/loader/downloaded_temp_file_impl.h
index 833b2cba9a931346aec604759d9d653f62a328b6..5ac39f4b7ca5d7d64c221a36742903f15b54cfaf 100644
--- a/content/browser/loader/downloaded_temp_file_impl.h
+++ b/content/browser/loader/downloaded_temp_file_impl.h
@@ -9,6 +9,10 @@
#include "content/common/content_export.h"
#include "content/common/url_loader_factory.mojom.h"
+namespace mojo {
+class AssociatedGroup;
+}
+
namespace content {
// DownloadedTempFileImpl is created on the download_to_file mode of resource
@@ -17,8 +21,10 @@ namespace content {
class CONTENT_EXPORT DownloadedTempFileImpl final
: public mojom::DownloadedTempFile {
public:
- static mojo::InterfacePtr<mojom::DownloadedTempFile> Create(int child_id,
- int request_id);
+ static mojom::DownloadedTempFileAssociatedPtrInfo
+ Create(mojo::AssociatedGroup* associated_group, int child_id, int request_id);
+ static mojom::DownloadedTempFilePtr CreateForTesting(int child_id,
+ int request_id);
DownloadedTempFileImpl(int child_id, int request_id);
~DownloadedTempFileImpl() override;

Powered by Google App Engine
This is Rietveld 408576698