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

Unified Diff: chrome/common/chrome_switches.cc

Issue 12285015: Require manifests for native messaging hosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index d3af64dd21ccd61e9c9ba3ee54b0652ea8083ca4..7ea73b014cdd753d2d4c70bf61125d7a354d2677 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -884,6 +884,11 @@ const char kNaClGdbScript[] = "nacl-gdb-script";
// command line. Useful values might be "valgrind" or "xterm -e gdb --args".
const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
+// List of native messaging hosts outside of the default location. Used for
+// tests. The value must be comma-separate lists of key-value pairs separated
+// equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
+const char kNativeMessagingHosts[] = "native-messaging-hosts";
+
// Sets the base logging level for the net log. Log 0 logs the most data.
// Intended primarily for use with --log-net-log.
const char kNetLogLevel[] = "net-log-level";
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/extensions/docs/examples/extensions/native_messaging/popup.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698