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

Unified Diff: chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update PresentationServiceDelegateImpl unittest Created 3 years, 9 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/ui/webui/media_router/media_router_ui_unittest.cc
diff --git a/chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc b/chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc
index 4a0e5c2a51169dc762a3eb9ab26f9eb7f3b65a1b..c79cf6ea1384ba6493123240cc399de7b9a161b4 100644
--- a/chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc
+++ b/chrome/browser/ui/webui/media_router/media_router_ui_unittest.cc
@@ -45,7 +45,7 @@ class PresentationRequestCallbacks {
const content::PresentationError& expected_error)
: expected_error_(expected_error) {}
- void Success(const content::PresentationSessionInfo&, const MediaRoute&) {}
+ void Success(const content::PresentationInfo&, const MediaRoute&) {}
void Error(const content::PresentationError& error) {
EXPECT_EQ(expected_error_.error_type, error.error_type);
@@ -512,7 +512,7 @@ TEST_F(MediaRouterUITest, NotFoundErrorOnCloseWithNoCompatibleSinks) {
TEST_F(MediaRouterUITest, AbortErrorOnClose) {
content::PresentationError expected_error(
content::PresentationErrorType::
- PRESENTATION_ERROR_SESSION_REQUEST_CANCELLED,
+ PRESENTATION_ERROR_PRESENTATION_REQUEST_CANCELLED,
"Dialog closed.");
PresentationRequestCallbacks request_callbacks(expected_error);
GURL presentation_url("http://google.com/presentation");

Powered by Google App Engine
This is Rietveld 408576698