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

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

Issue 2695333002: Mojo C++ bindings: remove usage of AssociatedGroup from content/ (Closed)
Patch Set: . Created 3 years, 10 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/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 5eaa6582a8ca4b66d062635f5c83e92582f4a8c1..b8b5aad084e3fe5a73b8a969fa6dfda64e2e2edc 100644
--- a/content/browser/loader/downloaded_temp_file_impl.h
+++ b/content/browser/loader/downloaded_temp_file_impl.h
@@ -9,10 +9,6 @@
#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
@@ -26,11 +22,10 @@ class CONTENT_EXPORT DownloadedTempFileImpl final
// That means:
// * The DownloadedTempFile object created here is essentially owned by the
// client. It keeps alive until the client destroys the other endpoint.
- // * The resulting interface is associated to the given |associated_group|,
- // all Mojo IPCs messages that share |associated_group| will arrive in a
- // sequence.
- static mojom::DownloadedTempFileAssociatedPtrInfo
- Create(mojo::AssociatedGroup* associated_group, int child_id, int request_id);
+ // * The resulting interface will be associated to the same message pipe on
+ // which the returned pointer info object is sent.
+ static mojom::DownloadedTempFileAssociatedPtrInfo Create(int child_id,
+ int request_id);
static mojom::DownloadedTempFilePtr CreateForTesting(int child_id,
int request_id);
« no previous file with comments | « content/browser/leveldb_wrapper_impl_unittest.cc ('k') | content/browser/loader/downloaded_temp_file_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698