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

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

Issue 2562603002: Updates SessionMessage to ConnectionMessage. (Closed)
Patch Set: More edits to test. 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
« no previous file with comments | « no previous file | chrome/browser/media/router/presentation_service_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1549f75d98a0d38b71e25080e9101c08648d5658..bc15dd0975ede0bf5f187e29c9048e50e98ee9da 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 url {
@@ -114,16 +114,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,
« no previous file with comments | « no previous file | chrome/browser/media/router/presentation_service_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698