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

Unified Diff: mojo/fetcher/about_fetcher_unittest.cc

Issue 1351963002: 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
Index: mojo/fetcher/about_fetcher_unittest.cc
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc
index b69d349eb2a387ccffdae470c5c84863b1d36454..27c8e6a75681b8cb0c225bd06dfeab6374224fa1 100644
--- a/mojo/fetcher/about_fetcher_unittest.cc
+++ b/mojo/fetcher/about_fetcher_unittest.cc
@@ -112,10 +112,12 @@ class AboutFetcherTest : public testing::Test {
URLRequestPtr request(URLRequest::New());
request->url = url;
- application_manager_->ConnectToApplication(
- nullptr, request.Pass(), std::string(), service_provider_request.Pass(),
- nullptr, shell::CapabilityFilter(), base::Closure(),
- shell::EmptyConnectCallback());
+
+ scoped_ptr<shell::ConnectToApplicationParams> params(
+ new shell::ConnectToApplicationParams);
+ params->SetURLInfo(request.Pass());
+ params->set_services(service_provider_request.Pass());
+ application_manager_->ConnectToApplication(params.Pass());
run_loop.Run();
}

Powered by Google App Engine
This is Rietveld 408576698