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

Unified Diff: mojo/shell/dynamic_service_loader.cc

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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
Index: mojo/shell/dynamic_service_loader.cc
diff --git a/mojo/shell/dynamic_service_loader.cc b/mojo/shell/dynamic_service_loader.cc
index da87453ec827ebf934ef863ed5d53f45df5987aa..01b572b644d9f6e70c60d05fa948f83fe79c3af5 100644
--- a/mojo/shell/dynamic_service_loader.cc
+++ b/mojo/shell/dynamic_service_loader.cc
@@ -34,7 +34,7 @@ class DynamicServiceLoader::LoadContext : public mojo::shell::Loader::Delegate {
public:
LoadContext(DynamicServiceLoader* loader,
const GURL& url,
- ScopedShellHandle service_handle,
+ ScopedMessagePipeHandle service_handle,
scoped_ptr<DynamicServiceRunner> runner)
: loader_(loader),
url_(url),
@@ -79,7 +79,7 @@ class DynamicServiceLoader::LoadContext : public mojo::shell::Loader::Delegate {
DynamicServiceLoader* const loader_;
const GURL url_;
scoped_ptr<mojo::shell::Loader::Job> request_;
- ScopedShellHandle service_handle_;
+ ScopedMessagePipeHandle service_handle_;
scoped_ptr<DynamicServiceRunner> runner_;
KeepAlive keep_alive_;
@@ -99,7 +99,7 @@ DynamicServiceLoader::~DynamicServiceLoader() {
void DynamicServiceLoader::LoadService(ServiceManager* manager,
const GURL& url,
- ScopedShellHandle service_handle) {
+ ScopedMessagePipeHandle service_handle) {
DCHECK(url_to_load_context_.find(url) == url_to_load_context_.end());
url_to_load_context_[url] = new LoadContext(
this, url, service_handle.Pass(), runner_factory_->Create(context_));

Powered by Google App Engine
This is Rietveld 408576698