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

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

Issue 1406013003: [Presentation API / Media Router] Clean up default pres URL logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed mfoltz's comments Created 5 years, 2 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: chrome/browser/media/router/media_router_dialog_controller.h
diff --git a/chrome/browser/media/router/media_router_dialog_controller.h b/chrome/browser/media/router/media_router_dialog_controller.h
index 40dce80fa45b6e1db5ecf6464c66bc18da54ca24..340fdc6098983042a87786acb00d9be080629e72 100644
--- a/chrome/browser/media/router/media_router_dialog_controller.h
+++ b/chrome/browser/media/router/media_router_dialog_controller.h
@@ -67,8 +67,8 @@ class MediaRouterDialogController {
// Returns the CreatePresentationSessionRequest to the caller but keeps the
// ownership with the MediaRouterDialogController.
- const CreatePresentationSessionRequest* presentation_request() const {
- return presentation_request_.get();
+ const CreatePresentationSessionRequest* create_session_request() const {
mlamouri (slow - plz ping) 2015/10/27 18:42:51 That name doesn't look like a getter but like a fu
imcheng 2015/10/27 20:50:14 The fact that the method name is in unix hacker st
+ return create_session_request_.get();
}
// Returns the WebContents that initiated showing the dialog.
@@ -94,7 +94,7 @@ class MediaRouterDialogController {
// Data for dialogs created at the request of the Presentation API.
// Passed from the caller via ShowMediaRouterDialogForPresentation to the
// dialog when it is initialized.
- scoped_ptr<CreatePresentationSessionRequest> presentation_request_;
+ scoped_ptr<CreatePresentationSessionRequest> create_session_request_;
DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogController);
};

Powered by Google App Engine
This is Rietveld 408576698