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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 5917001: Change the "Disable outdated plug-ins" lab to block them instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename command line switch and viewmsg Created 10 years 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // with using the default credentials of the currently logged in user. 80 // with using the default credentials of the currently logged in user.
81 const char kAuthServerWhitelist[] = "auth-server-whitelist"; 81 const char kAuthServerWhitelist[] = "auth-server-whitelist";
82 82
83 // The value of this switch tells the app to listen for and broadcast 83 // The value of this switch tells the app to listen for and broadcast
84 // automation-related messages on IPC channel with the given ID. 84 // automation-related messages on IPC channel with the given ID.
85 const char kAutomationClientChannelID[] = "automation-channel"; 85 const char kAutomationClientChannelID[] = "automation-channel";
86 86
87 // Block non-sandboxed plugins. 87 // Block non-sandboxed plugins.
88 const char kBlockNonSandboxedPlugins[] = "block-nonsandboxed-plugins"; 88 const char kBlockNonSandboxedPlugins[] = "block-nonsandboxed-plugins";
89 89
90 // Prevent outdated plugins from running.
91 const char kBlockOutdatedPlugins[] = "block-outdated-plugins";
92
90 // Causes the browser process to throw an assertion on startup. 93 // Causes the browser process to throw an assertion on startup.
91 const char kBrowserAssertTest[] = "assert-test"; 94 const char kBrowserAssertTest[] = "assert-test";
92 95
93 // Causes the browser process to crash on startup. 96 // Causes the browser process to crash on startup.
94 const char kBrowserCrashTest[] = "crash-test"; 97 const char kBrowserCrashTest[] = "crash-test";
95 98
96 // Path to the exe to run for the renderer and plugin subprocesses. 99 // Path to the exe to run for the renderer and plugin subprocesses.
97 const char kBrowserSubprocessPath[] = "browser-subprocess-path"; 100 const char kBrowserSubprocessPath[] = "browser-subprocess-path";
98 101
99 // How often (in seconds) to check for updates. Should only be used for 102 // How often (in seconds) to check for updates. Should only be used for
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 const char kDisableLocalStorage[] = "disable-local-storage"; 264 const char kDisableLocalStorage[] = "disable-local-storage";
262 265
263 // Force logging to be disabled. Logging is enabled by default in debug 266 // Force logging to be disabled. Logging is enabled by default in debug
264 // builds. 267 // builds.
265 const char kDisableLogging[] = "disable-logging"; 268 const char kDisableLogging[] = "disable-logging";
266 269
267 // Whether we should prevent the new tab page from showing the first run 270 // Whether we should prevent the new tab page from showing the first run
268 // notification. 271 // notification.
269 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run"; 272 const char kDisableNewTabFirstRun[] = "disable-new-tab-first-run";
270 273
271 // Prevent outdated plugins from running.
272 const char kDisableOutdatedPlugins[] = "disable-outdated-plugins";
273
274 // Prevent plugins from running. 274 // Prevent plugins from running.
275 const char kDisablePlugins[] = "disable-plugins"; 275 const char kDisablePlugins[] = "disable-plugins";
276 276
277 // Disable pop-up blocking. 277 // Disable pop-up blocking.
278 const char kDisablePopupBlocking[] = "disable-popup-blocking"; 278 const char kDisablePopupBlocking[] = "disable-popup-blocking";
279 279
280 // Normally when the user attempts to navigate to a page that was the result of 280 // Normally when the user attempts to navigate to a page that was the result of
281 // a post we prompt to make sure they want to. This switch may be used to 281 // a post we prompt to make sure they want to. This switch may be used to
282 // disable that check. This switch is used during automated testing. 282 // disable that check. This switch is used during automated testing.
283 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 283 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
(...skipping 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1377
1378 // ----------------------------------------------------------------------------- 1378 // -----------------------------------------------------------------------------
1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1380 // 1380 //
1381 // You were going to just dump your switches here, weren't you? Instead, 1381 // You were going to just dump your switches here, weren't you? Instead,
1382 // please put them in alphabetical order above, or in order inside the 1382 // please put them in alphabetical order above, or in order inside the
1383 // appropriate ifdef at the bottom. The order should match the header. 1383 // appropriate ifdef at the bottom. The order should match the header.
1384 // ----------------------------------------------------------------------------- 1384 // -----------------------------------------------------------------------------
1385 1385
1386 } // namespace switches 1386 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/render_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698