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

Unified Diff: components/mus/ws/window_tree_client_unittest.cc

Issue 1793793002: Remove ShellConnection::WaitForInitialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_client_unittest.cc
diff --git a/components/mus/ws/window_tree_client_unittest.cc b/components/mus/ws/window_tree_client_unittest.cc
index ac55ee609ce6c24029f29dd832457612d12ff6e2..b3d512f77e2d351439dc168c8a62bca4cdcecdc3 100644
--- a/components/mus/ws/window_tree_client_unittest.cc
+++ b/components/mus/ws/window_tree_client_unittest.cc
@@ -172,10 +172,6 @@ class TestWindowTreeClientImpl : public mojom::WindowTreeClient,
embed_run_loop_.reset();
}
- bool WaitForIncomingMethodCall() {
- return binding_.WaitForIncomingMethodCall();
- }
-
bool WaitForChangeCompleted(uint32_t id) {
waiting_change_id_ = id;
change_completed_run_loop_.reset(new base::RunLoop);
@@ -585,7 +581,7 @@ class WindowTreeClientTest : public WindowServerShellTestBase {
std::move(tree_client_ptr));
// Next we should get an embed call on the "window manager" client.
- wt_client1_->WaitForIncomingMethodCall();
+ wt_client1_->WaitForOnEmbed();
ASSERT_EQ(1u, changes1()->size());
EXPECT_EQ(CHANGE_TYPE_EMBED, (*changes1())[0].type);
« no previous file with comments | « chrome/app/mash/mash_runner.cc ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698