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

Unified Diff: device/devices_app/devices_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 | « content/browser/mojo/mojo_shell_context.cc ('k') | mandoline/ui/desktop_ui/browser_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/devices_app/devices_apptest.cc
diff --git a/device/devices_app/devices_apptest.cc b/device/devices_app/devices_apptest.cc
index 4416bda68a5d9881e05a700fd97dd3cb0db9741e..ff41a1a62a27006011149710383300db9905b37a 100644
--- a/device/devices_app/devices_apptest.cc
+++ b/device/devices_app/devices_apptest.cc
@@ -21,9 +21,7 @@ class DevicesAppTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
ApplicationTestBase::SetUp();
- mojo::URLRequestPtr request = mojo::URLRequest::New();
- request->url = "mojo:devices";
- application_impl()->ConnectToService(request.Pass(), &usb_device_manager_);
+ application_impl()->ConnectToService("mojo:devices", &usb_device_manager_);
}
usb::DeviceManager* usb_device_manager() { return usb_device_manager_.get(); }
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | mandoline/ui/desktop_ui/browser_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698