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

Unified Diff: ash/mus/window_manager_unittest.cc

Issue 2037033004: Renames mojo:desktop_wm to mojo:ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « ash/mus/manifest.json ('k') | ash/sysui/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager_unittest.cc
diff --git a/ash/mus/window_manager_unittest.cc b/ash/mus/window_manager_unittest.cc
index cf228cf4a60fd97fc92d89cf435fb9a4a78e3f7e..5c300e9eac5d1b1f1c7d7b8fc5ea1ddce47e4e87 100644
--- a/ash/mus/window_manager_unittest.cc
+++ b/ash/mus/window_manager_unittest.cc
@@ -52,7 +52,7 @@ class TestUserWindowObserver : public mojom::UserWindowObserver {
public:
explicit TestUserWindowObserver(shell::Connector* connector)
: binding_(this), window_count_(0u), expected_window_count_(0u) {
- connector->ConnectToInterface("mojo:desktop_wm", &user_window_controller_);
+ connector->ConnectToInterface("mojo:ash", &user_window_controller_);
user_window_controller_->AddUserWindowObserver(
binding_.CreateInterfacePtrAndBind());
}
@@ -114,11 +114,10 @@ class TestUserWindowObserver : public mojom::UserWindowObserver {
TEST_F(WindowManagerTest, OpenWindow) {
WindowTreeClientDelegate window_tree_delegate;
- // Bring up the the desktop_wm.
- connector()->Connect("mojo:desktop_wm");
+ connector()->Connect("mojo:ash");
// Connect to mus and create a new top level window. The request goes to
- // the |desktop_wm|, but is async.
+ // |ash|, but is async.
std::unique_ptr<::mus::WindowTreeClient> client(
new ::mus::WindowTreeClient(&window_tree_delegate, nullptr, nullptr));
client->ConnectViaWindowTreeFactory(connector());
@@ -141,8 +140,7 @@ TEST_F(WindowManagerTest, OpenWindow) {
}
TEST_F(WindowManagerTest, OpenWindowAndClose) {
- // Bring up the the desktop_wm.
- connector()->Connect("mojo:desktop_wm");
+ connector()->Connect("mojo:ash");
TestUserWindowObserver observer(connector());
« no previous file with comments | « ash/mus/manifest.json ('k') | ash/sysui/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698