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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 // flag can't be used. 877 // flag can't be used.
878 const char kNaClGdb[] = "nacl-gdb"; 878 const char kNaClGdb[] = "nacl-gdb";
879 879
880 // GDB script to pass to the nacl-gdb debugger at startup. 880 // GDB script to pass to the nacl-gdb debugger at startup.
881 const char kNaClGdbScript[] = "nacl-gdb-script"; 881 const char kNaClGdbScript[] = "nacl-gdb-script";
882 882
883 // On POSIX only: the contents of this flag are prepended to the nacl-loader 883 // On POSIX only: the contents of this flag are prepended to the nacl-loader
884 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 884 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
885 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; 885 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
886 886
887 // List of native messaging hosts outside of the default location. Used for
888 // tests. The value must be comma-separate lists of key-value pairs separated
889 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
890 const char kNativeMessagingHosts[] = "native-messaging-hosts";
891
887 // Sets the base logging level for the net log. Log 0 logs the most data. 892 // Sets the base logging level for the net log. Log 0 logs the most data.
888 // Intended primarily for use with --log-net-log. 893 // Intended primarily for use with --log-net-log.
889 const char kNetLogLevel[] = "net-log-level"; 894 const char kNetLogLevel[] = "net-log-level";
890 895
891 // Disables the default browser check. Useful for UI/browser tests where we 896 // Disables the default browser check. Useful for UI/browser tests where we
892 // want to avoid having the default browser info-bar displayed. 897 // want to avoid having the default browser info-bar displayed.
893 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 898 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
894 899
895 // By default, an https page can load images, fonts or frames from an http 900 // By default, an https page can load images, fonts or frames from an http
896 // page. This switch overrides this to block this lesser mixed-content problem. 901 // page. This switch overrides this to block this lesser mixed-content problem.
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 1681
1677 // ----------------------------------------------------------------------------- 1682 // -----------------------------------------------------------------------------
1678 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1679 // 1684 //
1680 // You were going to just dump your switches here, weren't you? Instead, please 1685 // You were going to just dump your switches here, weren't you? Instead, please
1681 // put them in alphabetical order above, or in order inside the appropriate 1686 // put them in alphabetical order above, or in order inside the appropriate
1682 // ifdef at the bottom. The order should match the header. 1687 // ifdef at the bottom. The order should match the header.
1683 // ----------------------------------------------------------------------------- 1688 // -----------------------------------------------------------------------------
1684 1689
1685 } // namespace switches 1690 } // namespace switches
OLDNEW
« 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