summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
Commit message (Collapse)AuthorAgeFilesLines
* Re-land r47079: Shorten several appsrelated flags.aa@chromium.org2010-05-131-10/+9
| | | | | | TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47104 0039d316-1c4b-4281-b951-d872f2087c98
* Add --host-rules support.willchan@chromium.org2010-05-121-2/+9
| | | | | | | | | The format for --host-rules is identical to --host-resolver-rules. The difference is that --host-rules affects the endpoint of the HttpNetworkTransaction, not just the host resolver. So, this means the host passed to the host resolver and the TCP connect(), the tunnel CONNECT, and the SOCKS connect will be different. Review URL: http://codereview.chromium.org/2057007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47083 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 47079 - Shorten several appsrelated flags. "256 characters should be ↵aa@chromium.org2010-05-121-9/+10
| | | | | | | | | | | enough for anyone's shortcut flags!" Review URL: http://codereview.chromium.org/1991009 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/2010013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47081 0039d316-1c4b-4281-b951-d872f2087c98
* Shorten several apps-related flags. "256 characters should be enough for ↵aa@chromium.org2010-05-121-10/+9
| | | | | | | | anyone's shortcut flags!" Review URL: http://codereview.chromium.org/1991009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47079 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Alternate-Protocol support by default when NPN support is enabled.willchan@chromium.org2010-05-121-3/+0
| | | | | | Review URL: http://codereview.chromium.org/2015019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47076 0039d316-1c4b-4281-b951-d872f2087c98
* Created a new process type called the service process to host background ↵sanjeevr@chromium.org2010-05-121-0/+16
| | | | | | | | | | tasks such as the Cloud Print Proxy. BUG=None. TEST=None. Review URL: http://codereview.chromium.org/2001009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47055 0039d316-1c4b-4281-b951-d872f2087c98
* Hide NTP app launcher debug link behind a flag.rafaelw@chromium.org2010-05-121-1/+4
| | | | | | Review URL: http://codereview.chromium.org/2061004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47048 0039d316-1c4b-4281-b951-d872f2087c98
* Added AuthenticateToUnlock which is to be used for screen lock.oshima@chromium.org2010-05-111-6/+0
| | | | | | | | | | | | | | | | | | | | * Renamed Authenticate to AuthenticateToLogin * Removed obsolete PamGoogleAuthenticator and InChromeAuth option * Changed ScreenLocker to use AuthenticatToUnlock Other changes: * Removed StubAuthenticator * Removed Profile from ScreenLock as it's no longer necessary * Moved MockAuthenticator to separate mock_authenticator file * added mock files to gyp file. BUG=http://crosbug.com/2914 TEST=none yet test will be added along with cros library Review URL: http://codereview.chromium.org/2032006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46942 0039d316-1c4b-4281-b951-d872f2087c98
* Add first cut at gallery integration.aa@chromium.org2010-05-101-0/+6
| | | | | | Review URL: http://codereview.chromium.org/1989007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46810 0039d316-1c4b-4281-b951-d872f2087c98
* Disable extension app tab throbber if command line flag set.finnur@chromium.org2010-05-081-0/+4
| | | | | | | | | | | | | This is a temporary measure until we have a better throbber for extension app tabs (or we remove them). BUG=None TEST=Pass in --disable-throbber-for-extension-apps and make sure the icon for nano tabs don't get replaced by a throbber. Review URL: http://codereview.chromium.org/2032003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46778 0039d316-1c4b-4281-b951-d872f2087c98
* Use NSS for SSL by default in chrome.exe.wtc@chromium.org2010-05-041-3/+2
| | | | | | | | | R=agl,willchan BUG=43142 TEST=All unit tests should pass on Windows. Review URL: http://codereview.chromium.org/1911002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46380 0039d316-1c4b-4281-b951-d872f2087c98
* Checking in chat_manager built-in extension, this time behind ↵scherkus@chromium.org2010-05-041-0/+3
| | | | | | | | | | | | | | --enable-chat-manager flag. Patch by seh@chromium.org http://codereview.chromium.org/1719023/show BUG=none TEST=none Review URL: http://codereview.chromium.org/1904003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46369 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded clipboard command line switch.inferno@chromium.org2010-05-041-3/+0
| | | | | | | | BUG=43152 Review URL: http://codereview.chromium.org/1922002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46333 0039d316-1c4b-4281-b951-d872f2087c98
* Update Webkit 58626:58719. Make use of new setting for disabling clipboard ↵inferno@chromium.org2010-05-041-0/+3
| | | | | | | | | | | access, already added in webkit as part of fix - https://bugs.webkit.org/show_bug.cgi?id=27751. Enable the setting in Test framework. Also, provide a command-line switch for this setting. BUG=41654 TEST=None Review URL: http://codereview.chromium.org/1815005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46299 0039d316-1c4b-4281-b951-d872f2087c98
* Enable Core Animation for Flash by defaultstuartmorgan@chromium.org2010-05-031-3/+3
| | | | | | | | | | | Enabling this now on the Dev channel will give us better coverage to find any issues we don't know about yet BUG=38932 TEST='gpu' and 'direct' wmode Flash instances should use CA on 10.6 (renderer CPU should be very low during video playback) Review URL: http://codereview.chromium.org/1877004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46285 0039d316-1c4b-4281-b951-d872f2087c98
* Create a command-line switch for enabling touch events.gdk@chromium.org2010-04-301-0/+3
| | | | | | | | | BUG=36415 TEST=none Review URL: http://codereview.chromium.org/1575033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46068 0039d316-1c4b-4281-b951-d872f2087c98
* Minor code issues found by Clang.evan@chromium.org2010-04-231-2/+2
| | | | | | | | | Mostly that "extern const ... = ...;" is not legal. You need two lines to make a non-static const declaration. Review URL: http://codereview.chromium.org/1739005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45502 0039d316-1c4b-4281-b951-d872f2087c98
* Delete native Mac bookmark manager. Remove --disable-tabbed-bookmark-manager ↵viettrungluu@chromium.org2010-04-231-4/+0
| | | | | | | | | | | | | (everywhere). Still to do: delete native bookmark managers on other platforms. BUG=38908 TEST=Everything else still works. Review URL: http://codereview.chromium.org/1751011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45462 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44712 - Merge the enableapplauncher flag with the enablenick@chromium.org2010-04-161-0/+3
| | | | | | | | | | | extensionapps flag since we will be using them together. Review URL: http://codereview.chromium.org/1659004 TBR=aa@chromium.org Review URL: http://codereview.chromium.org/1654015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44745 0039d316-1c4b-4281-b951-d872f2087c98
* Added --in-process-webgl command line argument to select the WebGLkbr@google.com2010-04-161-0/+3
| | | | | | | | | | | | | | implementation which runs in process rather than making the decision based on the presence of --no-sandbox. Made this argument implicitly disable the sandbox. Added it as an unsupported command line argument so it pops up the infobar. BUG=39721 TEST=ran WebGL demos on Mac and Windows with and without --in-process-webgl Review URL: http://codereview.chromium.org/1599034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44729 0039d316-1c4b-4281-b951-d872f2087c98
* Merge the --enable-app-launcher flag with the --enable-aa@chromium.org2010-04-151-3/+0
| | | | | | | | extension-apps flag since we will be using them together. Review URL: http://codereview.chromium.org/1659004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44712 0039d316-1c4b-4281-b951-d872f2087c98
* SPDY: Alternate-Protocol changes.willchan@chromium.org2010-04-151-0/+3
| | | | | | | | | Change chromium to expect npn-spdy/1 instead of npn-spdy to match server-side changes. Move the use of Alternate-Protocol to be behind command line flag: "--use-alternate-protocols". Review URL: http://codereview.chromium.org/1593029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44663 0039d316-1c4b-4281-b951-d872f2087c98
* Kerberos uses an SPN (Service Principal Name) to identify a server. This is ↵cbentzel@chromium.org2010-04-141-0/+11
| | | | | | | | | | | | | | | | | | | typically in the form "HTTP/host:port", with the ":port" suffix being optional, and the "HTTP/" prefix is fixed regardless of whether the service is accessed over HTTP or HTTPS. The issue this is fixing is that the URL host may be an incomplete domain name, a numerical address, or an alias for a canonical DNS name. By default, Chrome will skip adding the optional port to the SPN, and will use the canonical DNS name for the server (which may be the original server name if it is an A or AAAA record). This matches IE and Firefox's default behavior. Some intranets are set up so the original host name should be used rather than the canonical name. The canonical name resolution can be disabled with the --disable-spnego-cname-lookup command line flag. Some intranets are also set up so the optional port should be specified when it is non-standard (non 80 or 443). Use the --enable-spnego-port command line flag. BUG=29862 TEST=net_unittests.exe --gtest_filter="*CanonicalName*" Review URL: http://codereview.chromium.org/1535019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44526 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the --enable-user-stylesheet flag.tony@chromium.org2010-04-141-3/+0
| | | | | | | | | | Startup perf was not impacted in an earlier test run, so this should be safe. BUG=38182 Review URL: http://codereview.chromium.org/1530031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44457 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 44443 - Try removing the enableuserstylesheet flag.tony@chromium.org2010-04-141-0/+3
| | | | | | | | | | | | | | This is a test run to see how it impacts startup perf (if any). BUG=38182 TBR=chase Review URL: http://codereview.chromium.org/1595027 TBR=tony@chromium.org Review URL: http://codereview.chromium.org/1560034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44444 0039d316-1c4b-4281-b951-d872f2087c98
* Try removing the --enable-user-stylesheet flag.tony@chromium.org2010-04-141-3/+0
| | | | | | | | | | | This is a test run to see how it impacts startup perf (if any). BUG=38182 TBR=chase Review URL: http://codereview.chromium.org/1595027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44443 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on internal Flash Player by default.viettrungluu@chromium.org2010-04-121-5/+5
| | | | | | | | | BUG=none TEST=Run a branded Google Chrome (without any command-line flags); check about:plugins to make sure it picks up the internal Flash. Run it with --disable-internal-flash; check about:plugins to make sure it doesn't pick up the internal Flash. Review URL: http://codereview.chromium.org/1564025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44223 0039d316-1c4b-4281-b951-d872f2087c98
* Disables AeroPeek by default.hbono@chromium.org2010-04-051-0/+3
| | | | | | | | | | Because my AeroPeek code caused lots of usability problems, this change disables the AeroPeek code by default and add an "--enable-aero-peek-tabs" option, which enables this code, until we find solutions that avoid flooding users with tab thumbnails. BUG=37957 TEST=Open two tabs, and verify we can see only one thumbnail on Windows 7. Review URL: http://codereview.chromium.org/1571008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43607 0039d316-1c4b-4281-b951-d872f2087c98
* Add --websocket-live-experiment-host flag to debug websocket live experiment.ukai@chromium.org2010-04-021-0/+5
| | | | | | | | | | | If --websocket-live-experiment-host is specified, it is used for host of websocket live experiment in debug build. BUG=none TEST=none Review URL: http://codereview.chromium.org/1524005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43460 0039d316-1c4b-4281-b951-d872f2087c98
* Flip the flag to enable geolocation by default.joth@chromium.org2010-04-011-3/+3
| | | | | | | | | BUG=39808 TEST=run browser with & withou --disable-geolocaiton. Review URL: http://codereview.chromium.org/1534008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43337 0039d316-1c4b-4281-b951-d872f2087c98
* linux: enable seccomp sandbox by defaultevan@chromium.org2010-03-301-3/+22
| | | | | | | | | | | | | | | It seems the best way to keep the seccomp sandbox working is to have everyone's development environment have it on by default. So we turn on the seccomp sandbox, but only for non-official builds. If the build-time flag is set: --disable-seccomp-sandbox turns it off. If the build-time flag is *not* set: --enable-seccomp-sandbox turns it on. BUG=36133 Review URL: http://codereview.chromium.org/1558003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43122 0039d316-1c4b-4281-b951-d872f2087c98
* Added --enable-video-logging, which will log the presentation timestamp of ↵scherkus@chromium.org2010-03-301-0/+4
| | | | | | | | | | | | | video frames. In conjunction with a log parser we can detect dropped frames and our display jitter. BUG=none TEST=none Review URL: http://codereview.chromium.org/1398001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43038 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented initial version of themes syncing (behind a flag).akalin@chromium.org2010-03-291-0/+6
| | | | | | | | | BUG=32414 TEST=manual,unittests,trybot Review URL: http://codereview.chromium.org/1399001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42984 0039d316-1c4b-4281-b951-d872f2087c98
* Use internal pdf plugin with --internal-pdfjam@chromium.org2010-03-271-0/+3
| | | | | | Review URL: http://codereview.chromium.org/1462001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42886 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-nacl switch that enables both NaCl and GPU plugins.gregoryd@google.com2010-03-261-0/+4
| | | | | | | | | BUG=38554 TEST=nacl_ui_tests Review URL: http://codereview.chromium.org/1445001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42829 0039d316-1c4b-4281-b951-d872f2087c98
* Temporary stuff for internal plugins, part 1.viettrungluu@chromium.org2010-03-251-3/+6
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1320002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42674 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the disable metrics command line flag, which is no longer used forbrettw@chromium.org2010-03-251-4/+0
| | | | | | | | | | | | | | anything. This flag was leftover from initial product development when there was no opt-in preference for enabling the metrics service. The only user was a ChromeFrame unit test which I modified to use a different one that has the same effect. BUG=none TEST=none Review URL: http://codereview.chromium.org/1290004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42651 0039d316-1c4b-4281-b951-d872f2087c98
* Move some stuff from BrowserMain into helper functions.brettw@chromium.org2010-03-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the behavior slightly. We used to skip creation of the metrics service at all if it was disabled on the command line. But this was pretty confusing because it was still possible for it to be disabled by way of not uploading any data. And there were two places in the rest of the function that would crash if the metrics service was NULL (because you used the command line switch). After some archaeology, I discovered the command line switch was from before we had preferences and was then the only way to disable the metrics. Since we have prefs now and it defaults to off, I think the command line switch isn't useful, and the fact that it crashes sometimes further indicates this. So I just removed it. This does not remove the actual constant since that's used by ChromeFrame: once to make sure it's passed through when Chrome is spawend, and once in a test that command line switches are passed through. We'll have to remove these in a separate patch before removing the constant declaration. This also moves the WebSocketExperimentRunner starting from outside the "disable metrics" block. I think the intent was that it wouldn't be enabled if we weren't collecting metrics, but it wasn't actually working that way, so I just pulled it out to the top level of BrowserMain. TEST=none BUG=none Review URL: http://codereview.chromium.org/1251007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42629 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed bugs in GPU process startup on POSIX platforms. Addedkbr@google.com2010-03-231-0/+3
| | | | | | | | | | | | --gpu-startup-dialog command line option to allow debugging of GPU process. BUG=none TEST=none (tested manually in development workspace) Review URL: http://codereview.chromium.org/1095005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42375 0039d316-1c4b-4281-b951-d872f2087c98
* Add a temporary flag to enable Core Animation mode for Flash (when possible)stuartmorgan@chromium.org2010-03-231-0/+4
| | | | | | | | | | | | | This makes our Mac wmode hack--which prevents Flash from using "accelerated" QuickDraw mode, which is incredibly slow for us, but also prevents Flash 10.1 from using Core Animation in the same cases--conditional based on having both support for Core Animation mode in both Flash and Chromium, and on having a flag. Once we are confident that there are no regressions preventing us from allowing Core Animation by default, the flag will be removed. BUG=38932 TEST=Run with --enable-flash-core-animation and the current Flash 10.1 beta on 10.6; sites like YouTube should have negligable CPU usage. Review URL: http://codereview.chromium.org/1115010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42356 0039d316-1c4b-4281-b951-d872f2087c98
* Porting the app launcher to Windows, and adding an experimental flagjcivelli@google.com2010-03-221-0/+3
| | | | | | | | | | | | | | so the app launcher shows when you open a new tab. Also removing the graying-out of the browser when the app launcher is showng for now, as it is not clear how to make it cross-platform. BUG=None TEST=Start Chrome with --app-launcher-new-tab. Opening a new tab should bring the app launcher (still a prototype at this point). Review URL: http://codereview.chromium.org/1145001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42280 0039d316-1c4b-4281-b951-d872f2087c98
* We had a problem where if chrome crashed on cros and was relauncheddavemoore@chromium.org2010-03-221-0/+6
| | | | | | | | | | | | | | | | | | | it would always run with the Default profile. This meant that two different users could see the same data...a big problem. We patched in the OS by deleting the profile directory each time but this is the right fix. When the session_manager reruns Chrome on a crash it will now pass a new flag (--login-user). Chrome uses this and ensures that the profile dir (specified by --login-profile) is mounted as an encrypted drive. If this flag isn't specified then Chrome uses the Default profile, but in incognito mode so no data is written. BUG=chromiumos:1967 TEST=Login to chromeos as user1, in a terminal kill the browser process, chrome relaunches, log into gmail, sign out (using menu or power button). Login as user2, kill browser process, chrome relaunches, go to gmail. Ensure that user1 isn't logged in. Review URL: http://codereview.chromium.org/1094009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42279 0039d316-1c4b-4281-b951-d872f2087c98
* Add the option of importing bookmarks from file to first run.huanr@chromium.org2010-03-221-0/+4
| | | | | | | | | BUG=32728 TEST=run with --import-from-file Review URL: http://codereview.chromium.org/1077007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42266 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tabbed bookmark manager by default.arv@chromium.org2010-03-191-3/+4
| | | | | | | | | | | | | | Second try with the following changes: - Remove FLAKY_ from Feed tests and makes sure they pass. BUG=4890,38609 TEST=browser_test.exe Run Chrome, Press Ctrl+Shift+B. The new bookmark manager should open in a tab. Review URL: http://codereview.chromium.org/1127006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42165 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 42061 - Enable tabbed bookmark manager by default due to ↵andybons@chromium.org2010-03-191-4/+3
| | | | | | | | | | | | | | browser_tests and chrome frame breaking. BUG=4890 TEST=None Review URL: http://codereview.chromium.org/1139001 TBR=arv@chromium.org Review URL: http://codereview.chromium.org/1146004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42103 0039d316-1c4b-4281-b951-d872f2087c98
* Enable tabbed bookmark manager by default. arv@chromium.org2010-03-191-3/+4
| | | | | | | | | BUG=4890 TEST=None Review URL: http://codereview.chromium.org/1139001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42061 0039d316-1c4b-4281-b951-d872f2087c98
* Disable XSSAuditor on trunk until perf issues are resolvedjamesr@google.com2010-03-181-1/+1
| | | | | | | | | BUG=35723 TEST=none Review URL: http://codereview.chromium.org/1068001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42008 0039d316-1c4b-4281-b951-d872f2087c98
* In release mode, trigger a SIGABRT rather than a SIGTRAP for fatal log ↵thestig@chromium.org2010-03-181-0/+5
| | | | | | | | | | errors, i.e. CHECK(false). Also enable tests to make sure we assert/crash as expected. BUG=none TEST=Chrome in release mode generates crash dumps when CHECK() fails. See UI tests: AssertionTest.*:CheckFalseTest.*:RendererCrashTest.* Review URL: http://codereview.chromium.org/830003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41912 0039d316-1c4b-4281-b951-d872f2087c98
* Update sync to support syncing of typed urlszork@chromium.org2010-03-181-0/+6
| | | | | | Review URL: http://codereview.chromium.org/896001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41901 0039d316-1c4b-4281-b951-d872f2087c98
* Adding debugging switches to Worker process startup on POSIX systems.dimich@chromium.org2010-03-171-3/+0
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/1023005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41852 0039d316-1c4b-4281-b951-d872f2087c98