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

Unified Diff: mojo/public/cpp/application/lib/service_connector.cc

Issue 298653010: Change Shell / ShellClient to ServiceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Support content Mojo stuff 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/public/cpp/application/lib/service_connector.cc
diff --git a/mojo/public/cpp/shell/lib/service_connector.cc b/mojo/public/cpp/application/lib/service_connector.cc
similarity index 58%
rename from mojo/public/cpp/shell/lib/service_connector.cc
rename to mojo/public/cpp/application/lib/service_connector.cc
index bdd1f3f42d1edaa0a053641c00fa943e91662494..10bda99c1a2237200fa0602d9ea93f0133ca9fc2 100644
--- a/mojo/public/cpp/shell/lib/service_connector.cc
+++ b/mojo/public/cpp/application/lib/service_connector.cc
@@ -2,14 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/cpp/shell/lib/service_connector.h"
+#include "mojo/public/cpp/application/lib/service_connector.h"
namespace mojo {
namespace internal {
-ServiceConnectorBase::Owner::Owner(ScopedMessagePipeHandle shell_handle) {
- shell_.Bind(shell_handle.Pass());
- shell_.set_client(this);
+ServiceConnectorBase::Owner::Owner(
+ ScopedMessagePipeHandle service_provider_handle) {
+ service_provider_.Bind(service_provider_handle.Pass());
+ service_provider_.set_client(this);
}
ServiceConnectorBase::Owner::~Owner() {}

Powered by Google App Engine
This is Rietveld 408576698