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

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, 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 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 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 // flag can't be used. 859 // flag can't be used.
860 const char kNaClGdb[] = "nacl-gdb"; 860 const char kNaClGdb[] = "nacl-gdb";
861 861
862 // GDB script to pass to the nacl-gdb debugger at startup. 862 // GDB script to pass to the nacl-gdb debugger at startup.
863 const char kNaClGdbScript[] = "nacl-gdb-script"; 863 const char kNaClGdbScript[] = "nacl-gdb-script";
864 864
865 // On POSIX only: the contents of this flag are prepended to the nacl-loader 865 // On POSIX only: the contents of this flag are prepended to the nacl-loader
866 // command line. Useful values might be "valgrind" or "xterm -e gdb --args". 866 // command line. Useful values might be "valgrind" or "xterm -e gdb --args".
867 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix"; 867 const char kNaClLoaderCmdPrefix[] = "nacl-loader-cmd-prefix";
868 868
869 // List of native messaging hosts outside of the default location. Used for
870 // tests. The value must be comma-separate lists of key-value pairs separated
871 // equal sign. E.g. "host1=/path/to/host1/manifest.json,host2=/path/host2.json".
872 const char kNativeMessagingHosts[] = "native-messaging-hosts";
873
869 // Sets the base logging level for the net log. Log 0 logs the most data. 874 // Sets the base logging level for the net log. Log 0 logs the most data.
870 // Intended primarily for use with --log-net-log. 875 // Intended primarily for use with --log-net-log.
871 const char kNetLogLevel[] = "net-log-level"; 876 const char kNetLogLevel[] = "net-log-level";
872 877
873 // Disables the default browser check. Useful for UI/browser tests where we 878 // Disables the default browser check. Useful for UI/browser tests where we
874 // want to avoid having the default browser info-bar displayed. 879 // want to avoid having the default browser info-bar displayed.
875 const char kNoDefaultBrowserCheck[] = "no-default-browser-check"; 880 const char kNoDefaultBrowserCheck[] = "no-default-browser-check";
876 881
877 // By default, an https page can load images, fonts or frames from an http 882 // By default, an https page can load images, fonts or frames from an http
878 // page. This switch overrides this to block this lesser mixed-content problem. 883 // page. This switch overrides this to block this lesser mixed-content problem.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 1654
1650 // ----------------------------------------------------------------------------- 1655 // -----------------------------------------------------------------------------
1651 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1656 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1652 // 1657 //
1653 // You were going to just dump your switches here, weren't you? Instead, please 1658 // You were going to just dump your switches here, weren't you? Instead, please
1654 // put them in alphabetical order above, or in order inside the appropriate 1659 // put them in alphabetical order above, or in order inside the appropriate
1655 // ifdef at the bottom. The order should match the header. 1660 // ifdef at the bottom. The order should match the header.
1656 // ----------------------------------------------------------------------------- 1661 // -----------------------------------------------------------------------------
1657 1662
1658 } // namespace switches 1663 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698