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

Unified Diff: mojo/shell/application_manager_apptest_driver.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/shell/application_manager_apptest.cc ('k') | mojo/shell/application_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/application_manager_apptest_driver.cc
diff --git a/mojo/shell/application_manager_apptest_driver.cc b/mojo/shell/application_manager_apptest_driver.cc
index 51766ccb6ea585632ee330e80255cc3cccd6583e..290fc32516f8eaad3e6ca489c506fdea3dce674d 100644
--- a/mojo/shell/application_manager_apptest_driver.cc
+++ b/mojo/shell/application_manager_apptest_driver.cc
@@ -43,8 +43,7 @@ class TargetApplicationDelegate : public mojo::ApplicationDelegate,
void Initialize(mojo::ApplicationImpl* app) override {
app_ = app;
mojo::shell::mojom::ApplicationManagerPtr application_manager;
- app_->ConnectToService(mojo::URLRequest::From(std::string("mojo:shell")),
- &application_manager);
+ app_->ConnectToService("mojo:shell", &application_manager);
base::FilePath target_path;
CHECK(base::PathService::Get(base::DIR_EXE, &target_path));
« no previous file with comments | « mojo/shell/application_manager_apptest.cc ('k') | mojo/shell/application_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698