| 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 240fbd74af7f9eef8bf303b0349f6c21b4ed4ff9..cfd8d149617f2fe5ab964fb99707b45277db6b48 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(const std::vector<PresentationConnectionMessage>&)>;
|
| using SendConnectionMessageCallback = base::Callback<void(bool)>;
|
|
|
| // Listener implementation owned by PresentationServiceImpl. An instance of
|
| @@ -170,7 +170,7 @@ class CONTENT_EXPORT PresentationServiceImpl
|
| const NewSessionCallback& callback) override;
|
| void SendConnectionMessage(
|
| const PresentationSessionInfo& session_info,
|
| - blink::mojom::ConnectionMessagePtr connection_message,
|
| + const PresentationConnectionMessage& message,
|
| const SendConnectionMessageCallback& callback) override;
|
| void CloseConnection(const GURL& presentation_url,
|
| const std::string& presentation_id) override;
|
| @@ -240,9 +240,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);
|
| + const std::vector<content::PresentationConnectionMessage>& messages);
|
|
|
| // A callback registered to OffscreenPresentationManager when
|
| // the PresentationServiceImpl for the presentation receiver is initialized.
|
|
|