summaryrefslogtreecommitdiffstats
path: root/base/base_switches.cc
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 06:11:56 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-17 06:11:56 +0000
commit5e6e939f429310fb37d00421f728ecba11bc030e (patch)
treeb901d98ca174aadc338a728914c1603c5d277f45 /base/base_switches.cc
parent912c64520e0e9f22bd49e43c7ee102e3b9de66a7 (diff)
downloadchromium_src-5e6e939f429310fb37d00421f728ecba11bc030e.zip
chromium_src-5e6e939f429310fb37d00421f728ecba11bc030e.tar.gz
chromium_src-5e6e939f429310fb37d00421f728ecba11bc030e.tar.bz2
Add a command line argument to disable message boxes. This is useful to
extension developers who want to package extensions as part of a build script and aren't there to click the message box. R=aa,jackson BUG=14732 TEST=Pack an extension with the --no-message-box flag and notice that there is no message box. Review URL: http://codereview.chromium.org/149795 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20937 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base_switches.cc')
-rw-r--r--base/base_switches.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/base_switches.cc b/base/base_switches.cc
index 77d263c..900f217 100644
--- a/base/base_switches.cc
+++ b/base/base_switches.cc
@@ -30,6 +30,10 @@ const wchar_t kProcessType[] = L"type";
// Enable DCHECKs in release mode.
const wchar_t kEnableDCHECK[] = L"enable-dcheck";
+// Disable win_util::MessageBox. This is useful when running as part of
+// scripts that do not have a user interface.
+const wchar_t kNoMessageBox[] = L"no-message-box";
+
// Refuse to make HTTP connections and refuse to accept certificate errors.
// For more information about the design of this feature, please see
//