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

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

Issue 2862393002: [Media Router] Force DEFAULT cast mode when starting presentations from content. (Closed)
Patch Set: Fix bug found by closure compiler Created 3 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/create_presentation_connection_request.h
diff --git a/chrome/browser/media/router/create_presentation_connection_request.h b/chrome/browser/media/router/create_presentation_connection_request.h
index 4c9d5aa4f14e0c1ef286a4e37e2eb6c57b05427f..006c6baa466c2f50e4e11ff87b83b3dc4d8a9e45 100644
--- a/chrome/browser/media/router/create_presentation_connection_request.h
+++ b/chrome/browser/media/router/create_presentation_connection_request.h
@@ -32,6 +32,8 @@ class RouteRequestResult;
// presentation_service_delegate_impl, which is then passed to and owned by the
// MediaRouterUI. |success_cb| will be invoked when create-session succeeds, or
// |error_cb| will be invoked when create-session fails or the UI closes.
+// TODO(mfoltz): Combine this with PresentationRequest as it's largely
+// redundant.
class CreatePresentationConnectionRequest {
public:
using PresentationConnectionCallback =
@@ -43,7 +45,7 @@ class CreatePresentationConnectionRequest {
// |frame_origin|: The origin of the frame that initiated the presentation
// request.
// |success_cb|: Callback to invoke when the request succeeds. Must be valid.
- // |erorr_cb|: Callback to invoke when the request fails. Must be valid.
+ // |error_cb|: Callback to invoke when the request fails. Must be valid.
CreatePresentationConnectionRequest(
const RenderFrameHostId& render_frame_host_id,
const std::vector<GURL>& presentation_urls,
« no previous file with comments | « no previous file | chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698