| Index: chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc
|
| diff --git a/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc b/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc
|
| index 0534c0c53c0619e54dfdf93cac7812e75ad89720..0184f44c720a58f1076e029516dc6f71cfbea553 100644
|
| --- a/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc
|
| +++ b/chrome/browser/ui/ash/system_tray_tray_cast_browsertest_media_router_chromeos.cc
|
| @@ -119,25 +119,23 @@
|
|
|
| // The tray should be hidden when there are no sinks.
|
| EXPECT_FALSE(test_api.IsTrayVisible());
|
| - media_sinks_observer()->OnSinksUpdated(zero_sinks,
|
| - std::vector<url::Origin>());
|
| + media_sinks_observer()->OnSinksUpdated(zero_sinks, std::vector<GURL>());
|
| // Flush mojo messages from the chrome object to the ash object.
|
| content::RunAllPendingInMessageLoop();
|
| EXPECT_FALSE(test_api.IsTrayVisible());
|
| EXPECT_FALSE(test_api.IsTraySelectViewVisible());
|
|
|
| // The tray should be visible with any more than zero sinks.
|
| - media_sinks_observer()->OnSinksUpdated(one_sink, std::vector<url::Origin>());
|
| + media_sinks_observer()->OnSinksUpdated(one_sink, std::vector<GURL>());
|
| content::RunAllPendingInMessageLoop();
|
| EXPECT_TRUE(test_api.IsTrayVisible());
|
| - media_sinks_observer()->OnSinksUpdated(two_sinks, std::vector<url::Origin>());
|
| + media_sinks_observer()->OnSinksUpdated(two_sinks, std::vector<GURL>());
|
| content::RunAllPendingInMessageLoop();
|
| EXPECT_TRUE(test_api.IsTrayVisible());
|
| EXPECT_TRUE(test_api.IsTraySelectViewVisible());
|
|
|
| // And if all of the sinks go away, it should be hidden again.
|
| - media_sinks_observer()->OnSinksUpdated(zero_sinks,
|
| - std::vector<url::Origin>());
|
| + media_sinks_observer()->OnSinksUpdated(zero_sinks, std::vector<GURL>());
|
| content::RunAllPendingInMessageLoop();
|
| EXPECT_FALSE(test_api.IsTrayVisible());
|
| EXPECT_FALSE(test_api.IsTraySelectViewVisible());
|
| @@ -156,7 +154,7 @@
|
| std::vector<media_router::MediaSink> sinks;
|
| sinks.push_back(MakeSink("remote_sink", "name"));
|
| sinks.push_back(MakeSink("local_sink", "name"));
|
| - media_sinks_observer()->OnSinksUpdated(sinks, std::vector<url::Origin>());
|
| + media_sinks_observer()->OnSinksUpdated(sinks, std::vector<GURL>());
|
| content::RunAllPendingInMessageLoop();
|
|
|
| // Create route combinations. More details below.
|
|
|