summaryrefslogtreecommitdiffstats
path: root/components/filesystem/files_test_base.cc
diff options
context:
space:
mode:
authorben <ben@chromium.org>2016-02-25 23:30:25 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-26 07:31:39 +0000
commite4a2bc4fb161d8d2ea673d5f55119d36be2cf06f (patch)
treea09be63e6724713539bd7065ecdcb38b0233a73e /components/filesystem/files_test_base.cc
parent0d78506780d9bf1e5e80a0bfca6099a80fd355e0 (diff)
downloadchromium_src-e4a2bc4fb161d8d2ea673d5f55119d36be2cf06f.zip
chromium_src-e4a2bc4fb161d8d2ea673d5f55119d36be2cf06f.tar.gz
chromium_src-e4a2bc4fb161d8d2ea673d5f55119d36be2cf06f.tar.bz2
Replace with mojo::Connector (already exists) now that Shell is gone.
Requires: - Move AppRefCount to a different class, MessageLoopRef, which is optionally used by applications that wish to quit the current message loop started by application runner when the ref drops to zero. - Changing the signature of Initialize() to take a Connector. This is what most of the change in this CL is. BUG= Review URL: https://codereview.chromium.org/1725353003 Cr-Commit-Position: refs/heads/master@{#377841}
Diffstat (limited to 'components/filesystem/files_test_base.cc')
-rw-r--r--components/filesystem/files_test_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/filesystem/files_test_base.cc b/components/filesystem/files_test_base.cc
index d47be02..15399c3 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) {