summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-01 18:09:42 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-01 18:09:42 +0000
commit938e1f9ec9e6e1d267dbff0c9bb50d5952937bc7 (patch)
tree9cdb9a05dcc70199710f399885f737b0642ee211 /chrome/app
parent4dcbeb4a725e61ebec6b28162f9a495e64c2a96f (diff)
downloadchromium_src-938e1f9ec9e6e1d267dbff0c9bb50d5952937bc7.zip
chromium_src-938e1f9ec9e6e1d267dbff0c9bb50d5952937bc7.tar.gz
chromium_src-938e1f9ec9e6e1d267dbff0c9bb50d5952937bc7.tar.bz2
Show an infobar when the user is using an unsupported flag.
Patch stolen from Evan and a translatable string added: <http://codereview.chromium.org/490019>. BUG=40113 TEST=Run Chromium with --no-sandbox; should get an infobar warning that you're going to die young. Review URL: http://codereview.chromium.org/1599010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/generated_resources.grd5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 6078f50..56823fb 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -3627,6 +3627,11 @@ Keep your key file in a safe place. You will need it to create new versions of y
Restore
</message>
+ <!-- Bad Flags Info Bar-->
+ <message name="IDS_BAD_FLAGS_WARNING_MESSAGE" desc="Message shown when an unsupported command-line flag is used. [Keep it short so it fits in the infobar.]">
+ You are using an unsupported command-line flag: <ph name="BAD_FLAG">$1<ex>--no-sandbox</ex></ph>. Stability and security will suffer.
+ </message>
+
<!-- about:version strings -->
<message name="IDS_ABOUT_VERSION_TITLE" desc="Title on the about:version page">