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

Unified Diff: components/filesystem/files_test_base.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
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 d47be0227a70cc9031b19ec75c9c5c9bd86ee856..15399c3acf6f4335ffcab5bd1aac8880f8a00a99 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/shell.h"
+#include "mojo/shell/public/cpp/connector.h"
#include "mojo/util/capture_util.h"
namespace filesystem {
@@ -21,7 +21,7 @@ FilesTestBase::~FilesTestBase() {
void FilesTestBase::SetUp() {
ApplicationTestBase::SetUp();
- shell()->ConnectToInterface("mojo:filesystem", &files_);
+ connector()->ConnectToInterface("mojo:filesystem", &files_);
}
void FilesTestBase::GetTemporaryRoot(DirectoryPtr* directory) {
« 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