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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1674903003: Extract shell methods from ApplicationImpl into a base class, and pass this to Initialize() instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojom
Patch Set: . Created 4 years, 10 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: components/filesystem/files_test_base.cc
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index 4bfd2b2c4494140e94560861873ad4406ccb68fb..a221a69aab572eb7e8dc2a75bfd4d0d7d7e3d2d3 100644
--- a/components/filesystem/files_test_base.cc
+++ b/components/filesystem/files_test_base.cc
@@ -8,7 +8,7 @@
#include "components/filesystem/public/interfaces/directory.mojom.h"
#include "components/filesystem/public/interfaces/types.mojom.h"
-#include "mojo/shell/public/cpp/application_impl.h"
+#include "mojo/shell/public/cpp/shell.h"
#include "mojo/util/capture_util.h"
namespace filesystem {
@@ -21,7 +21,7 @@ FilesTestBase::~FilesTestBase() {
void FilesTestBase::SetUp() {
ApplicationTestBase::SetUp();
- application_impl()->ConnectToService("mojo:filesystem", &files_);
+ shell()->ConnectToService("mojo:filesystem", &files_);
}
void FilesTestBase::OnFileSystemShutdown() {
« no previous file with comments | « components/filesystem/file_system_app.cc ('k') | components/filesystem/public/cpp/prefs/pref_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698