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

Unified Diff: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc

Issue 1990603002: Make ApplicationTestBase not use ApplicationImpl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: delete ApplicationImpl::WaitForInitialize() 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
Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
index b04cc90dccbdaecfb9b7af315146f90cf2d8e677..2a3079458fab1969ad77663c516f6efbd16b9772 100644
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_apptest.cc
@@ -9,7 +9,6 @@
#include "base/run_loop.h"
#include "base/strings/string_split.h"
#include "base/strings/stringprintf.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"
@@ -290,8 +289,7 @@ class AuthenticatingURLLoaderInterceptorAppTest
ApplicationTestBase::SetUp();
InitializeNetworkService();
- ConnectToService(application_impl()->shell(),
- "mojo:authenticating_url_loader_interceptor",
+ ConnectToService(shell(), "mojo:authenticating_url_loader_interceptor",
GetProxy(&interceptor_meta_factory_));
}
@@ -341,7 +339,7 @@ class AuthenticatingURLLoaderInterceptorAppTest
void InitializeNetworkService() {
network_service_.reset();
- mojo::ConnectToService(application_impl()->shell(), "mojo:network_service",
+ mojo::ConnectToService(shell(), "mojo:network_service",
GetProxy(&network_service_));
}
« no previous file with comments | « services/asset_bundle/asset_bundle_apptest.cc ('k') | services/authentication/accounts_db_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698