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

Unified Diff: services/native_support/main.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/nacl/nonsfi/pnacl_link.cc ('k') | services/native_support/process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/native_support/main.cc
diff --git a/services/native_support/main.cc b/services/native_support/main.cc
index 33aff0432e8696ca16ae11eca9216fb95a1006e7..11e8a7d0521a702fd467f6b67e8cbebed6c7a09d 100644
--- a/services/native_support/main.cc
+++ b/services/native_support/main.cc
@@ -37,13 +37,13 @@ class NativeSupportApp : public mojo::ApplicationDelegate,
}
// |InterfaceFactory<Process>| implementation:
- void Create(mojo::ApplicationConnection* connection,
+ void Create(const mojo::ConnectionContext& connection_context,
mojo::InterfaceRequest<Process> request) override {
if (!worker_pool_) {
worker_pool_ = new base::SequencedWorkerPool(kMaxWorkerThreads,
"NativeSupportWorker");
}
- new ProcessImpl(worker_pool_, connection, request.Pass());
+ new ProcessImpl(worker_pool_, connection_context, request.Pass());
}
scoped_refptr<base::SequencedWorkerPool> worker_pool_;
« no previous file with comments | « services/nacl/nonsfi/pnacl_link.cc ('k') | services/native_support/process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698