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

Unified Diff: content/common/service_manager/child_connection.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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: content/common/service_manager/child_connection.cc
diff --git a/content/common/mojo/mojo_child_connection.cc b/content/common/service_manager/child_connection.cc
similarity index 93%
rename from content/common/mojo/mojo_child_connection.cc
rename to content/common/service_manager/child_connection.cc
index 8616d45f0be17962a17223ba880d73e9eff4d603..f21e9c032dd2813719e62258d91317734db9cfdb 100644
--- a/content/common/mojo/mojo_child_connection.cc
+++ b/content/common/service_manager/child_connection.cc
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/mojo/mojo_child_connection.h"
+#include "content/common/service_manager/child_connection.h"
#include <stdint.h>
#include <utility>
#include "base/macros.h"
-#include "content/public/common/mojo_shell_connection.h"
+#include "content/public/common/service_manager_connection.h"
#include "mojo/edk/embedder/embedder.h"
#include "mojo/public/cpp/system/message_pipe.h"
#include "services/shell/public/cpp/connector.h"
@@ -32,7 +32,7 @@ void CallBinderOnTaskRunner(
} // namespace
-class MojoChildConnection::IOThreadContext
+class ChildConnection::IOThreadContext
: public base::RefCountedThreadSafe<IOThreadContext> {
public:
IOThreadContext() {}
@@ -121,7 +121,7 @@ class MojoChildConnection::IOThreadContext
DISALLOW_COPY_AND_ASSIGN(IOThreadContext);
};
-MojoChildConnection::MojoChildConnection(
+ChildConnection::ChildConnection(
const std::string& service_name,
const std::string& instance_id,
const std::string& child_token,
@@ -142,11 +142,11 @@ MojoChildConnection::MojoChildConnection(
context_), io_task_runner));
}
-MojoChildConnection::~MojoChildConnection() {
+ChildConnection::~ChildConnection() {
context_->ShutDown();
}
-void MojoChildConnection::SetProcessHandle(base::ProcessHandle handle) {
+void ChildConnection::SetProcessHandle(base::ProcessHandle handle) {
context_->SetProcessHandle(handle);
}
« no previous file with comments | « content/common/service_manager/child_connection.h ('k') | content/common/service_manager/embedded_service_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698