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

Unified Diff: mojo/runner/child/native_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 | « mojo/mojo_services.gyp ('k') | mojo/services/network/http_server_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/child/native_apptest.cc
diff --git a/mojo/runner/child/native_apptest.cc b/mojo/runner/child/native_apptest.cc
index 7bb7780add5f4adc3faa5840e63561cf30d51a73..cc47edb34d9a111ccaf1753f00fb4a1156fb9ae6 100644
--- a/mojo/runner/child/native_apptest.cc
+++ b/mojo/runner/child/native_apptest.cc
@@ -22,9 +22,7 @@ using NativeAppTest = mojo::test::ApplicationTestBase;
TEST_F(NativeAppTest, Connect) {
test::TestNativeServicePtr native_service;
application_impl()->ConnectToService(
- mojo::URLRequest::From(
- std::string("exe:mojo_runner_child_apptest_native_target")),
- &native_service);
+ "exe:mojo_runner_child_apptest_native_target", &native_service);
bool result = false;
native_service->Invert(
« no previous file with comments | « mojo/mojo_services.gyp ('k') | mojo/services/network/http_server_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698