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

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

Issue 127463003: Completely disable use of bind() with pseudo-random port selection on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: On Windows, avoid "port selection" in Stable or Beta channels automatically Created 6 years, 11 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.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) 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // disable that check. This switch is used during automated testing. 411 // disable that check. This switch is used during automated testing.
412 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 412 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
413 413
414 // Disables support for the QUIC protocol. 414 // Disables support for the QUIC protocol.
415 const char kDisableQuic[] = "disable-quic"; 415 const char kDisableQuic[] = "disable-quic";
416 416
417 // Disables support for the HTTPS over QUIC protocol. This is a temporary 417 // Disables support for the HTTPS over QUIC protocol. This is a temporary
418 // testing flag. This only has an effect if QUIC protocol is enabled. 418 // testing flag. This only has an effect if QUIC protocol is enabled.
419 const char kDisableQuicHttps[] = "disable-quic-https"; 419 const char kDisableQuicHttps[] = "disable-quic-https";
420 420
421 // Disable use of Chromium's port selection for the ephemeral port via bind().
422 // This only has an effect if QUIC protocol is enabled.
423 const char kDisableQuicPortSelection[] = "disable-quic-port_selection";
424
421 // Prevents the URLs of BackgroundContents from being remembered and 425 // Prevents the URLs of BackgroundContents from being remembered and
422 // re-launched when the browser restarts. 426 // re-launched when the browser restarts.
423 const char kDisableRestoreBackgroundContents[] = 427 const char kDisableRestoreBackgroundContents[] =
424 "disable-restore-background-contents"; 428 "disable-restore-background-contents";
425 429
426 // Disables restoring session state (cookies, session storage, etc.) when 430 // Disables restoring session state (cookies, session storage, etc.) when
427 // restoring the browsing session. 431 // restoring the browsing session.
428 const char kDisableRestoreSessionState[] = "disable-restore-session-state"; 432 const char kDisableRestoreSessionState[] = "disable-restore-session-state";
429 433
430 // Disables throttling prints initiated by scripts. 434 // Disables throttling prints initiated by scripts.
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 // Enables query in the omnibox. 735 // Enables query in the omnibox.
732 const char kEnableQueryExtraction[] = "enable-query-extraction"; 736 const char kEnableQueryExtraction[] = "enable-query-extraction";
733 737
734 // Enables support for the QUIC protocol. This is a temporary testing flag. 738 // Enables support for the QUIC protocol. This is a temporary testing flag.
735 const char kEnableQuic[] = "enable-quic"; 739 const char kEnableQuic[] = "enable-quic";
736 740
737 // Enables support for the HTTPS over QUIC protocol. This is a temporary 741 // Enables support for the HTTPS over QUIC protocol. This is a temporary
738 // testing flag. This only has an effect if QUIC protocol is enabled. 742 // testing flag. This only has an effect if QUIC protocol is enabled.
739 const char kEnableQuicHttps[] = "enable-quic-https"; 743 const char kEnableQuicHttps[] = "enable-quic-https";
740 744
745 // Enable use of Chromium's port selection for the ephemeral port via bind().
746 // This only has an effect if QUIC protocol is enabled.
747 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
748
741 // Enables the Quickoffoce/Chrome document viewer rather than the editor. 749 // Enables the Quickoffoce/Chrome document viewer rather than the editor.
742 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing"; 750 const char kEnableQuickofficeViewing[] = "enable-quickoffice-viewing";
743 751
744 // Enables save password prompt bubble. 752 // Enables save password prompt bubble.
745 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; 753 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
746 754
747 // Controls the support for SDCH filtering (dictionary based expansion of 755 // Controls the support for SDCH filtering (dictionary based expansion of
748 // content). By default SDCH filtering is enabled. To disable SDCH filtering, 756 // content). By default SDCH filtering is enabled. To disable SDCH filtering,
749 // use "--enable-sdch=0" as command line argument. SDCH is currently only 757 // use "--enable-sdch=0" as command line argument. SDCH is currently only
750 // supported server-side for searches on google.com. 758 // supported server-side for searches on google.com.
(...skipping 933 matching lines...) Expand 10 before | Expand all | Expand 10 after
1684 1692
1685 // ----------------------------------------------------------------------------- 1693 // -----------------------------------------------------------------------------
1686 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1694 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1687 // 1695 //
1688 // You were going to just dump your switches here, weren't you? Instead, please 1696 // You were going to just dump your switches here, weren't you? Instead, please
1689 // put them in alphabetical order above, or in order inside the appropriate 1697 // put them in alphabetical order above, or in order inside the appropriate
1690 // ifdef at the bottom. The order should match the header. 1698 // ifdef at the bottom. The order should match the header.
1691 // ----------------------------------------------------------------------------- 1699 // -----------------------------------------------------------------------------
1692 1700
1693 } // namespace switches 1701 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698