diff options
author | jdonnelly <jdonnelly@chromium.org> | 2015-09-17 17:49:21 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-18 00:49:59 +0000 |
commit | 4dff1d58fa60695afac0aa3da11634378c0d7aad (patch) | |
tree | 2a50edb16b2ec50596d39ffd2841d490afd08cdf /mojo/fetcher | |
parent | 27bc389884c6f6214dacb8ce44c7623d863aaf12 (diff) | |
download | chromium_src-4dff1d58fa60695afac0aa3da11634378c0d7aad.zip chromium_src-4dff1d58fa60695afac0aa3da11634378c0d7aad.tar.gz chromium_src-4dff1d58fa60695afac0aa3da11634378c0d7aad.tar.bz2 |
Revert of Some more minor cleanup to ApplicationManager. (patchset #4 id:60001 of https://codereview.chromium.org/1351963002/ )
Reason for revert:
Broke Android GN.
Original issue's description:
> Some more minor cleanup to ApplicationManager.
>
> R=yzshen@chromium.org
> http://crbug.com/533085
>
> Committed: https://crrev.com/c6bde172a35b65b5a735675e840fab55921d28f8
> Cr-Commit-Position: refs/heads/master@{#349515}
TBR=yzshen@chromium.org,ben@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/1354043002
Cr-Commit-Position: refs/heads/master@{#349554}
Diffstat (limited to 'mojo/fetcher')
-rw-r--r-- | mojo/fetcher/about_fetcher_unittest.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc index 27c8e6a..b69d349 100644 --- a/mojo/fetcher/about_fetcher_unittest.cc +++ b/mojo/fetcher/about_fetcher_unittest.cc @@ -112,12 +112,10 @@ class AboutFetcherTest : public testing::Test { 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(); } |