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

Unified Diff: mojo/fetcher/about_fetcher_unittest.cc

Issue 1354003002: Make CapabilityFilter be part of Identity (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 27c8e6a75681b8cb0c225bd06dfeab6374224fa1..de256d7b9fbb06ae9f743f469ebca1ab45219888 100644
--- a/mojo/fetcher/about_fetcher_unittest.cc
+++ b/mojo/fetcher/about_fetcher_unittest.cc
@@ -110,12 +110,9 @@ class AboutFetcherTest : public testing::Test {
service_provider.set_connection_error_handler(
[&run_loop]() { run_loop.Quit(); });
- URLRequestPtr request(URLRequest::New());
- request->url = url;
-
scoped_ptr<shell::ConnectToApplicationParams> params(
new shell::ConnectToApplicationParams);
- params->SetURLInfo(request.Pass());
+ params->SetTargetURL(GURL(url));
params->set_services(service_provider_request.Pass());
application_manager_->ConnectToApplication(params.Pass());

Powered by Google App Engine
This is Rietveld 408576698