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

Unified Diff: mojo/services/network/url_loader_interceptor_apptest.cc

Issue 1954263003: Monet: Roll mojo_sdk to 3762c8c0b74b48b00786a42fca8f7db7f761935f. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 7 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 | « mojo/services/network/udp_socket_apptest.cc ('k') | mojo/services/public/build/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/network/url_loader_interceptor_apptest.cc
diff --git a/mojo/services/network/url_loader_interceptor_apptest.cc b/mojo/services/network/url_loader_interceptor_apptest.cc
index aaca1faf3bd64fe4c5e48f72d7e0e20ac92f8538..099d5b283a00fac451be64b1daa656b8c5fedb57 100644
--- a/mojo/services/network/url_loader_interceptor_apptest.cc
+++ b/mojo/services/network/url_loader_interceptor_apptest.cc
@@ -4,9 +4,9 @@
#include "base/macros.h"
#include "base/run_loop.h"
-#include "mojo/public/cpp/application/application_connection.h"
#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/application_test_base.h"
+#include "mojo/public/cpp/application/connect.h"
#include "mojo/public/cpp/bindings/strong_binding.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/services/network/interfaces/network_service.mojom.h"
@@ -188,9 +188,8 @@ class URLLoaderInterceptorAppTest : public test::ApplicationTestBase {
void SetUp() override {
ApplicationTestBase::SetUp();
- ApplicationConnection* connection =
- application_impl()->ConnectToApplication("mojo:network_service");
- connection->ConnectToService(&network_service_);
+ ConnectToService(application_impl()->shell(), "mojo:network_service",
+ GetProxy(&network_service_));
}
URLResponsePtr GetResponse(const std::string& url) {
« no previous file with comments | « mojo/services/network/udp_socket_apptest.cc ('k') | mojo/services/public/build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698