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

Unified Diff: chrome/browser/media/router/presentation_service_delegate_impl.h

Issue 2562603002: Updates SessionMessage to ConnectionMessage. (Closed)
Patch Set: 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: chrome/browser/media/router/presentation_service_delegate_impl.h
diff --git a/chrome/browser/media/router/presentation_service_delegate_impl.h b/chrome/browser/media/router/presentation_service_delegate_impl.h
index dfa9a4a9ffcffd244a1146f62ad5d57621480171..46728fc0d1b16d9194bc8d968865b1d4a15f27bd 100644
--- a/chrome/browser/media/router/presentation_service_delegate_impl.h
+++ b/chrome/browser/media/router/presentation_service_delegate_impl.h
@@ -27,7 +27,7 @@ namespace content {
class PresentationScreenAvailabilityListener;
class WebContents;
struct PresentationSessionInfo;
-struct PresentationSessionMessage;
+struct PresentationConnectionMessage;
} // namespace content
namespace media_router {
@@ -110,16 +110,18 @@ class PresentationServiceDelegateImpl
void Terminate(int render_process_id,
int render_frame_id,
const std::string& presentation_id) override;
- void ListenForSessionMessages(
+ void ListenForConnectionMessages(
int render_process_id,
int render_frame_id,
const content::PresentationSessionInfo& session,
- const content::PresentationSessionMessageCallback& message_cb) override;
- void SendMessage(int render_process_id,
- int render_frame_id,
- const content::PresentationSessionInfo& session,
- std::unique_ptr<content::PresentationSessionMessage> message,
- const SendMessageCallback& send_message_cb) override;
+ const content::PresentationConnectionMessageCallback& message_cb)
+ override;
+ void SendMessage(
+ int render_process_id,
+ int render_frame_id,
+ const content::PresentationSessionInfo& session,
+ std::unique_ptr<content::PresentationConnectionMessage> message,
+ const SendMessageCallback& send_message_cb) override;
void ListenForConnectionStateChange(
int render_process_id,
int render_frame_id,

Powered by Google App Engine
This is Rietveld 408576698