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

Unified Diff: chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc

Issue 2608513002: Remove mojo::String. (Closed)
Patch Set: rebase Created 3 years, 12 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/mojo/media_router_mojo_impl_unittest.cc
diff --git a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
index 4837c6a115a9ad5dfcde38f3b3262beb8d6229b3..3098f90db4b1334e45771acdef96e2ef4b1b766c 100644
--- a/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
+++ b/chrome/browser/media/router/mojo/media_router_mojo_impl_unittest.cc
@@ -642,10 +642,10 @@ TEST_F(MediaRouterMojoImplTest, TerminateRouteFails) {
base::RunLoop run_loop;
EXPECT_CALL(mock_media_route_provider_, TerminateRoute(kRouteId, _))
.WillOnce(Invoke([&run_loop](
- const mojo::String& route_id,
+ const std::string& route_id,
const mojom::MediaRouteProvider::TerminateRouteCallback& cb) {
- cb.Run(std::string("timed out"),
- mojom::RouteRequestResultCode::TIMED_OUT);
+ cb.Run(std::string("timed out"),
+ mojom::RouteRequestResultCode::TIMED_OUT);
}));
router()->TerminateRoute(kRouteId);
run_loop.RunUntilIdle();

Powered by Google App Engine
This is Rietveld 408576698