summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 02:48:01 +0000
committerjohnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 02:48:01 +0000
commit380f186d176e52cdbc54c6ceabfe5d5a7958cfba (patch)
treebb6c8419f1fd689f6cbef3796d63db10e4729e20 /chrome/common
parent0b6381b113cbb0ef3edb03fc8296d62459859c0d (diff)
downloadchromium_src-380f186d176e52cdbc54c6ceabfe5d5a7958cfba.zip
chromium_src-380f186d176e52cdbc54c6ceabfe5d5a7958cfba.tar.gz
chromium_src-380f186d176e52cdbc54c6ceabfe5d5a7958cfba.tar.bz2
Remove (actually, reverse meaning of) command line flag for desktop notifications, so that is is available by default in Windows.
Security review at http://b/issue?id=2161143 BUG=25975 TEST=none Review URL: http://codereview.chromium.org/391064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31990 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_switches.cc6
-rw-r--r--chrome/common/chrome_switches.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 97729c7..30a598f 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -75,6 +75,9 @@ const char kDisableByteRangeSupport[] = "disable-byte-range-support";
// Disables the custom JumpList on Windows 7.
const char kDisableCustomJumpList[] = "disable-custom-jumplist";
+// Disables desktop notifications (default enabled on windows).
+const char kDisableDesktopNotifications[] = "disable-desktop-notifications";
+
// Browser flag to disable the web inspector for all renderers.
const char kDisableDevTools[] = "disable-dev-tools";
@@ -171,9 +174,6 @@ const char kEnableBenchmarking[] = "enable-benchmarking";
// Enables HTML5 DB support.
const char kEnableDatabases[] = "enable-databases";
-// Enabled desktop notifications.
-const char kEnableDesktopNotifications[] = "enable-desktop-notifications";
-
// Enables extension APIs that are in development.
const char kEnableExperimentalExtensionApis[] =
"enable-experimental-extension-apis";
diff --git a/chrome/common/chrome_switches.h b/chrome/common/chrome_switches.h
index 001132f..b95d3c9 100644
--- a/chrome/common/chrome_switches.h
+++ b/chrome/common/chrome_switches.h
@@ -36,6 +36,7 @@ extern const char kDisableAltWinstation[];
extern const char kDisableAudio[];
extern const char kDisableByteRangeSupport[];
extern const char kDisableCustomJumpList[];
+extern const char kDisableDesktopNotifications[];
extern const char kDisableDevTools[];
extern const char kDisableExtensions[];
extern const char kDisableHangMonitor[];
@@ -64,7 +65,6 @@ extern const char kDumpHistogramsOnExit[];
extern const char kEnableApplicationCache[];
extern const char kEnableBenchmarking[];
extern const char kEnableDatabases[];
-extern const char kEnableDesktopNotifications[];
extern const char kEnableExperimentalExtensionApis[];
extern const char kEnableExperimentalWebGL[];
extern const char kEnableExtensionTimelineApi[];