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

Unified Diff: mojo/fetcher/about_fetcher_unittest.cc

Issue 1354043002: Revert of Some more minor cleanup to ApplicationManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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/app/android/mandoline_activity.cc ('k') | mojo/mojo_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/fetcher/about_fetcher_unittest.cc
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc
index 27c8e6a75681b8cb0c225bd06dfeab6374224fa1..b69d349eb2a387ccffdae470c5c84863b1d36454 100644
--- a/mojo/fetcher/about_fetcher_unittest.cc
+++ b/mojo/fetcher/about_fetcher_unittest.cc
@@ -112,12 +112,10 @@
URLRequestPtr request(URLRequest::New());
request->url = url;
-
- scoped_ptr<shell::ConnectToApplicationParams> params(
- new shell::ConnectToApplicationParams);
- params->SetURLInfo(request.Pass());
- params->set_services(service_provider_request.Pass());
- application_manager_->ConnectToApplication(params.Pass());
+ application_manager_->ConnectToApplication(
+ nullptr, request.Pass(), std::string(), service_provider_request.Pass(),
+ nullptr, shell::CapabilityFilter(), base::Closure(),
+ shell::EmptyConnectCallback());
run_loop.Run();
}
« no previous file with comments | « mandoline/app/android/mandoline_activity.cc ('k') | mojo/mojo_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698