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

Unified Diff: content/common/mojo/mojo_child_connection.h

Issue 2226403002: Remove Channel token from InProcessChildThreadParams (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moar-channels
Patch Set: rebase Created 4 years, 4 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 | « content/common/mojo/constants.h ('k') | content/common/mojo/mojo_child_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/mojo_child_connection.h
diff --git a/content/browser/mojo/mojo_child_connection.h b/content/common/mojo/mojo_child_connection.h
similarity index 90%
rename from content/browser/mojo/mojo_child_connection.h
rename to content/common/mojo/mojo_child_connection.h
index 3d91cc6579dd41e4b39dbc4b6981faa702db1e7f..fb7dd2477fa05b001e2ef060c82a39dd693bf5a4 100644
--- a/content/browser/mojo/mojo_child_connection.h
+++ b/content/common/mojo/mojo_child_connection.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_MOJO_MOJO_CHILD_CONNECTION_H_
-#define CONTENT_BROWSER_MOJO_MOJO_CHILD_CONNECTION_H_
+#ifndef CONTENT_COMMON_MOJO_MOJO_CHILD_CONNECTION_H_
+#define CONTENT_COMMON_MOJO_MOJO_CHILD_CONNECTION_H_
#include <memory>
#include <string>
@@ -13,6 +13,7 @@
#include "base/memory/weak_ptr.h"
#include "base/process/process_handle.h"
#include "base/sequenced_task_runner.h"
+#include "content/common/content_export.h"
#include "services/shell/public/cpp/identity.h"
#include "services/shell/public/cpp/interface_provider.h"
#include "services/shell/public/interfaces/connector.mojom.h"
@@ -27,7 +28,7 @@ namespace content {
// Helper class to establish a connection between the shell and a single child
// process. Process hosts can use this when launching new processes which
// should be registered with the shell.
-class MojoChildConnection {
+class CONTENT_EXPORT MojoChildConnection {
public:
// Prepares a new child connection for a child process which will be
// identified to the shell as |application_name|. |instance_id| must be
@@ -74,4 +75,4 @@ class MojoChildConnection {
} // namespace content
-#endif // CONTENT_BROWSER_MOJO_MOJO_CHILD_CONNECTION_H_
+#endif // CONTENT_COMMON_MOJO_MOJO_CHILD_CONNECTION_H_
« no previous file with comments | « content/common/mojo/constants.h ('k') | content/common/mojo/mojo_child_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698