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

Unified Diff: mandoline/ui/desktop_ui/browser_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 | « device/devices_app/devices_apptest.cc ('k') | mandoline/ui/desktop_ui/browser_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/desktop_ui/browser_apptest.cc
diff --git a/mandoline/ui/desktop_ui/browser_apptest.cc b/mandoline/ui/desktop_ui/browser_apptest.cc
index 5f847cecc057ab939de2f83c109a3816be609d7c..1673cde972d8ec04d0cfbb9137b5afe2b4bbc1c1 100644
--- a/mandoline/ui/desktop_ui/browser_apptest.cc
+++ b/mandoline/ui/desktop_ui/browser_apptest.cc
@@ -16,9 +16,7 @@ class BrowserTest : public mojo::test::ApplicationTestBase {
// mojo::test::ApplicationTestBase:
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = mojo::String::From("mojo:desktop_ui");
- application_impl()->ConnectToService(request.Pass(), &launch_handler_);
+ application_impl()->ConnectToService("mojo:desktop_ui", &launch_handler_);
ASSERT_TRUE(launch_handler_.is_bound());
}
« no previous file with comments | « device/devices_app/devices_apptest.cc ('k') | mandoline/ui/desktop_ui/browser_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698