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

Unified Diff: content/common/mojo/constants.cc

Issue 2346803004: Revert of Enforce capability spec renderer <--> browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/mojo/constants.cc
diff --git a/content/common/mojo/constants.cc b/content/common/mojo/constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f78fab58b8dca17191cede0e7fbd0fd360a1a72e
--- /dev/null
+++ b/content/common/mojo/constants.cc
@@ -0,0 +1,34 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "content/common/mojo/constants.h"
+
+namespace content {
+
+// The default application name the browser identifies as when connecting to
+// the shell. This must match the name in
+// src/content/public/app/mojo/content_browser_manifest.json.
+const char kBrowserMojoApplicationName[] = "exe:content_browser";
+
+// The default application name used to identify the gpu process when
+// connecting it to the shell. This must match the name in
+// src/content/public/app/mojo/content_gpu_manifest.json.
+const char kGpuMojoApplicationName[] = "exe:content_gpu";
+
+// The default application name used to identify plugin processes when
+// connecting them to the shell. This must match the name in
+// src/content/public/app/mojo/content_plugin_manifest.json.
+const char kPluginMojoApplicationName[] = "exe:content_plugin";
+
+// The default application name used to identify render processes when
+// connecting them to the shell. This must match the name in
+// src/content/public/app/mojo/content_renderer_manifest.json.
+const char kRendererMojoApplicationName[] = "exe:content_renderer";
+
+// The default application name used to identify utility processes when
+// connecting them to the shell. This must match the name in
+// src/content/public/app/mojo/content_utility_manifest.json.
+const char kUtilityMojoApplicationName[] = "exe:content_utility";
+
+} // namespace content
« no previous file with comments | « content/common/mojo/constants.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698