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

Unified Diff: mojo/services/files/c/tests/mojio_impl_test_base.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
« no previous file with comments | « mojo/public/cpp/bindings/tests/versioning_apptest.cc ('k') | mojo/ui/gl_renderer_apptest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/files/c/tests/mojio_impl_test_base.cc
diff --git a/mojo/services/files/c/tests/mojio_impl_test_base.cc b/mojo/services/files/c/tests/mojio_impl_test_base.cc
index 96abd9fc1853dfedcbf1a95f69830a5ed03532f6..3b345ee59433b67605dcd98c22a70f606d16ac34 100644
--- a/mojo/services/files/c/tests/mojio_impl_test_base.cc
+++ b/mojo/services/files/c/tests/mojio_impl_test_base.cc
@@ -6,7 +6,6 @@
#include "files/interfaces/files.mojom-sync.h"
#include "files/interfaces/files.mojom.h"
-#include "mojo/public/cpp/application/application_impl.h"
#include "mojo/public/cpp/application/connect.h"
#include "mojo/public/cpp/bindings/interface_request.h"
#include "mojo/public/cpp/bindings/synchronous_interface_ptr.h"
@@ -27,8 +26,7 @@ void MojioImplTestBase::SetUp() {
mojo::test::ApplicationTestBase::SetUp();
SynchronousInterfacePtr<mojo::files::Files> files;
- mojo::ConnectToService(application_impl()->shell(), "mojo:files",
- GetSynchronousProxy(&files));
+ mojo::ConnectToService(shell(), "mojo:files", GetSynchronousProxy(&files));
mojo::files::Error error = mojo::files::Error::INTERNAL;
MOJO_CHECK(
« no previous file with comments | « mojo/public/cpp/bindings/tests/versioning_apptest.cc ('k') | mojo/ui/gl_renderer_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698