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

Unified Diff: mash/wm/window_manager_apptest.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « mandoline/ui/desktop_ui/browser_window.cc ('k') | media/mojo/services/media_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/window_manager_apptest.cc
diff --git a/mash/wm/window_manager_apptest.cc b/mash/wm/window_manager_apptest.cc
index 37f33f20668d441b6ce4b4d1a8679b61f228ed21..f8618c3f209179c971126ddbc0fe6a38616b7cbf 100644
--- a/mash/wm/window_manager_apptest.cc
+++ b/mash/wm/window_manager_apptest.cc
@@ -19,9 +19,7 @@ class WindowManagerAppTest : public mojo::test::ApplicationTestBase,
protected:
void ConnectToWindowManager(mus::mojom::WindowManagerPtr* window_manager) {
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = "mojo:example_wm";
- application_impl()->ConnectToService(request.Pass(), window_manager);
+ application_impl()->ConnectToService("mojo:example_wm", window_manager);
}
mus::Window* OpenWindow(mus::mojom::WindowManager* window_manager) {
« no previous file with comments | « mandoline/ui/desktop_ui/browser_window.cc ('k') | media/mojo/services/media_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698