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

Unified Diff: services/files/files_impl.cc

Issue 1975993002: Change InterfaceFactory<I>::Create() to take a ConnectionContext instead of an ApplicationConnectio… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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 | « services/files/files_impl.h ('k') | services/files/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/files_impl.cc
diff --git a/services/files/files_impl.cc b/services/files/files_impl.cc
index 94eb6cdbc0f8a5d42add190626dbf4bdb6064423..c6a8243b410bda2d57e5ebcaf8a49f8250b2432c 100644
--- a/services/files/files_impl.cc
+++ b/services/files/files_impl.cc
@@ -19,7 +19,7 @@
#include "base/posix/eintr_wrapper.h"
#include "base/sha1.h"
#include "base/strings/string_number_conversions.h"
-#include "mojo/public/cpp/application/application_connection.h"
+#include "mojo/public/cpp/application/connection_context.h"
#include "services/files/directory_impl.h"
namespace mojo {
@@ -99,9 +99,9 @@ base::ScopedFD OpenMojoDebugDirectory() {
} // namespace
-FilesImpl::FilesImpl(ApplicationConnection* connection,
+FilesImpl::FilesImpl(const ConnectionContext& connection_context,
InterfaceRequest<Files> request)
- : client_url_(connection->GetRemoteApplicationURL()),
+ : client_url_(connection_context.remote_url),
binding_(this, request.Pass()) {}
FilesImpl::~FilesImpl() {}
« no previous file with comments | « services/files/files_impl.h ('k') | services/files/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698