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

Unified Diff: content/browser/presentation/presentation_service_impl.h

Issue 2706463002: [Presentation API] Mojo typemap for content::PresentationConnectionMessage (Closed)
Patch Set: Fix compile error after rebase 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/presentation/presentation_service_impl.h
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h
index 5ba4c47a346e7f938065772dc096b8b7a8a4df11..4f7dbee0b282288156427f873ccae5269a65a118 100644
--- a/content/browser/presentation/presentation_service_impl.h
+++ b/content/browser/presentation/presentation_service_impl.h
@@ -102,7 +102,7 @@ class CONTENT_EXPORT PresentationServiceImpl
static const int kMaxNumQueuedSessionRequests = 10;
using ConnectionMessagesCallback =
- base::Callback<void(std::vector<blink::mojom::ConnectionMessagePtr>)>;
+ base::Callback<void(std::vector<PresentationConnectionMessage>)>;
// Listener implementation owned by PresentationServiceImpl. An instance of
// this is created when PresentationRequest.getAvailability() is resolved.
@@ -234,9 +234,7 @@ class CONTENT_EXPORT PresentationServiceImpl
// later invocation when session messages arrive.
void OnConnectionMessages(
const content::PresentationSessionInfo& session_info,
- const std::vector<std::unique_ptr<PresentationConnectionMessage>>&
- messages,
- bool pass_ownership);
+ std::vector<content::PresentationConnectionMessage> messages);
// A callback registered to OffscreenPresentationManager when
// the PresentationServiceImpl for the presentation receiver is initialized.
« no previous file with comments | « chrome/browser/media/router/route_message.h ('k') | content/browser/presentation/presentation_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698