summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_switches.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update the Preconnect logic to use the new HttpStreamFactory formbelshe@chromium.org2010-09-031-4/+0
| | | | | | | | | | | | | | | | creating connections rather than doing it manually. With this update, I believe we no longer need to avoid preconnects through proxies. The new logic can handle that case. Also updated the predictor_api slightly for the next wave of work. BUG=none TEST=existing Review URL: http://codereview.chromium.org/3226011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58464 0039d316-1c4b-4281-b951-d872f2087c98
* Add command-line switch to enable FileSystem API support.kinuko@chromium.org2010-09-031-0/+3
| | | | | | | | | | | This doesn't set the flag for workers. BUG=32277 TEST=none; to be added when we have complete implementation. Review URL: http://codereview.chromium.org/3240006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58453 0039d316-1c4b-4281-b951-d872f2087c98
* Add html support to screenlocker backgroundoshima@chromium.org2010-09-011-0/+3
| | | | | | | | | | | | | | | | | | * escape to close password field. * hide the saver when the password field is shown. (compositing the password field on top of screensaver correctly require more work) * moved methods/function in background_view.cc to be ordered in public, procted and private. (SetOobeProgressBarVisible, IsOobeProgressBarVisible, SetOobeProgress, SetGoIncognitoButtonVisible, OnLocaleChanged) BUG=chromium-os:189 TEST=tested manually on the device, but testing this change requires other CLs on chromium-os repository. Review URL: http://codereview.chromium.org/3273008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58177 0039d316-1c4b-4281-b951-d872f2087c98
* Enable click-to-play by default.bauerb@chromium.org2010-09-011-3/+3
| | | | | | | | | | | Click-to-play can be disabled using the --disable-click-to-play command line switch. BUG=35316 TEST=none Review URL: http://codereview.chromium.org/3250012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58147 0039d316-1c4b-4281-b951-d872f2087c98
* Use ChromeAsyncSocket by default.akalin@chromium.org2010-09-011-4/+5
| | | | | | | | | | | | Removed --sync-use-chrome-async-socket switch, added --sync-disable-chrome-async-socket switch. BUG=45612 TEST=manually Review URL: http://codereview.chromium.org/3304001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58123 0039d316-1c4b-4281-b951-d872f2087c98
* Enable speech input by default on windows.satish@chromium.org2010-08-281-0/+3
| | | | | | | | | | | | Makes --enable-speech-input with available only on non-windows builds and adds --disable-speech-input for windows. BUG=none TEST=browser_tests --gtest_filter="SpeechInputBrowserTest.*" Review URL: http://codereview.chromium.org/3261001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57781 0039d316-1c4b-4281-b951-d872f2087c98
* Add debug switches for NaCl to chrome. These switches will propogate ↵noelallen@google.com2010-08-271-0/+9
| | | | | | | | | | | | | | | | through the broker all the way to the NaCl sel loader. The switches enable debugging of the NEXE, and allow port/IP configuration. Changes to NaCl will be in the NaCl repository. BUG=http://code.google.com/p/nativeclient/issues/detail?id=728 TEST=none NOTE: Try server for linux only failed however run of -b linux at a later time passed. However, presubmit is still showing a linux failure warning. Review URL: http://codereview.chromium.org/3184023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57738 0039d316-1c4b-4281-b951-d872f2087c98
* Disable BackgroundModeManager by default for M7, and add an ↵atwilson@chromium.org2010-08-271-4/+4
| | | | | | | | | | | | | | | --enable-background-mode command line flag to enable it. Also remove related preferences items if the --enable-background-mode flag is not passed. BUG=53522 TEST=BackgroundModeManager unit tests pass, run without flag and look at preferences dialog to make sure preferences are not there, launch chrome with --keep-alive-for-test flag, see that no status icon appears Review URL: http://codereview.chromium.org/3219001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57713 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for delegated kerberos tickets to Negotiate authentication.cbentzel@chromium.org2010-08-271-2/+8
| | | | | | | | | | | This is controlled by the --auth-negotiate-delegate-whitelist command line. By default no servers are delegated to. BUG=50076 TEST=net_unittests, go to an IIS server specified in --auth-negotiate-delegate-whitelist and see if this works correctly. Review URL: http://codereview.chromium.org/3155046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57695 0039d316-1c4b-4281-b951-d872f2087c98
* Enable device orientation by default.hans@chromium.org2010-08-271-3/+3
| | | | | | | | | | | | Enable device orientation by default. Replace the --enable-device-orientation command-line flag with a --disable-device-orientation flag. BUG=44654 TEST=browser_tests --gtest_filter="DeviceOrientationBrowserTest.*" Review URL: http://codereview.chromium.org/3136038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57684 0039d316-1c4b-4281-b951-d872f2087c98
* Add --disable-translate to help Selenium/WebDriver dudes make Chromejrg@chromium.org2010-08-271-0/+5
| | | | | | | | | | | | | | more predictable for automated testing. BUG=none TEST=Launch Chrome. Go to http://www.diplomatie.gouv.fr/fr/ See translate info bar? Good. Now launch Chrome with --disable-translate and go to that page again. Make sure translate info bar never shows up. Review URL: http://codereview.chromium.org/3117044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57620 0039d316-1c4b-4281-b951-d872f2087c98
* Add a flag for the showing the Page Info dialog as a bubble. This adds stubs ↵rsesek@chromium.org2010-08-251-0/+3
| | | | | | | | | | | for all platforms. BUG=52916 TEST=Compile. Page Info works as before. Review URL: http://codereview.chromium.org/3175037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57358 0039d316-1c4b-4281-b951-d872f2087c98
* A/B experiment for re-establishing TCP connections.ziadh@chromium.org2010-08-251-4/+12
| | | | | | | | | | | | | We would like to test the impact of automatic retries when a TCP connection exceeds a certain threshold before it gets back an ACK. We are observing a fair number of sockets where the connection had been established, but the sockets were not used thereafter. r=mbelche Review URL: http://codereview.chromium.org/3191019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57276 0039d316-1c4b-4281-b951-d872f2087c98
* Mac: Well-behaved accelerated plugins, actual fixthakis@chromium.org2010-08-241-0/+5
| | | | | | | | | | | | | | | | | | | Configure the opengl view to draw below the window, draw the view with NSClearColor so that's transparent, and make the window non-opaque while plugins are showing, so that the opengl surface can show through. This is a bit slower than previously without this patch, but it's about as fast as it was when we used CoreAnimation to show IOSurfaces. Parts of this code are from Simon Fraser's MacTierra code (with permission). BUG=44087,51748 TEST= * Go to youtube. Findbar should show up on top of video. Go fullscreen. Tab overlay should show up on top of video. * Go to youtube, drag tab with video out and to a new window. Video should continue playing. * Install https://chrome.google.com/extensions/detail/bdnkaenpadjoldiddfdidinjmjeagaji , click browser action. Should still work. * Install a transparent theme such as https://tools.google.com/chrome/intl/cy/themes/theme_at_mecko.html or http://chromium.googlecode.com/issues/attachment?aid=3778755830122130591&name=theme-bug.crx&token=27908ca7e699a023c8446657b24c4696 . Browser window shouldn't become transparent while videos are playing. Review URL: http://codereview.chromium.org/3176027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57201 0039d316-1c4b-4281-b951-d872f2087c98
* --auth-schemes specifies which authentication schemes are supported on the ↵cbentzel@chromium.org2010-08-231-5/+7
| | | | | | | | | | | | | | | command line. --auth-schemes should be a command separated list containing one or more of the following schemes: basic, digest, ntlm, or negotiate. This will primarily be used to help triage user-reported bugs. BUG=None TEST=specify --auth-schemes and ensure that only the specified schemes are supported. Also, when unspecified all schemes should be supported. Review URL: http://codereview.chromium.org/3199002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57073 0039d316-1c4b-4281-b951-d872f2087c98
* Build fixes to the CLrkc@google.com2010-08-221-0/+3
| | | | | | Review URL: http://codereview.chromium.org/3061044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57019 0039d316-1c4b-4281-b951-d872f2087c98
* Fix to change the sense (and name) of kRestoreBackgroundContents to be ↵atwilson@chromium.org2010-08-211-4/+5
| | | | | | | | | | | kDisableRestoreBackgroundContents BUG=52793 TEST=none Review URL: http://codereview.chromium.org/3202004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56945 0039d316-1c4b-4281-b951-d872f2087c98
* net: expect MITM attacks with HTTP proxies and command line flag.agl@chromium.org2010-08-191-0/+6
| | | | | | | | | | | | | | | | | With r51258 we started requiring the TLS renegotiation extension from a whitelist of servers that we knew supported it. When Chrome is getting MITM attacked, this extension can be removed and this broke some debugging tools (which intercept SSL connections) and some proxies which do the same. This patch causes us to expect to be MITM attacked when tunneling via an HTTP proxy and when the --allow-ssl-mitm-proxies command line flag is given. BUG=48485 TEST=Can't really test without one of these MITM proxy machines. http://codereview.chromium.org/3111019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56727 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Checkin for CL: http://codereview.chromium.org/3061044/show"phajdan.jr@chromium.org2010-08-191-3/+0
| | | | | | | | | | Broke compile. TBR=rkc Review URL: http://codereview.chromium.org/3199006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56717 0039d316-1c4b-4281-b951-d872f2087c98
* Checkin for CL: http://codereview.chromium.org/3061044/showrkc@google.com2010-08-191-0/+3
| | | | | | | | | | | | | | TEST=Backend: Various reports submitted from Chrome OS and Windows builds sent to the feedback test server. For Chromium OS, sent reports with current screenshot and saved screenshots; verified all reports for data accuracy and completion. Frontend: Tested the UI features by excersizing various options; tested not selecting any issue, tested switching between screenshot types. Review URL: http://codereview.chromium.org/3181027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56708 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 55888: Allow per-plugin content settings.bauerb@chromium.org2010-08-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Now with Fixed Unit Tests! Run with --enable-resource-content-settings and --enable-click-to-play to enable. TabSpecificContentSettings now keeps track of which resources were blocked. The content setting bubble displays those resource, and selecting the "allow radio buttons adds exceptions for these resources. The infobar for non-sandboxed plug-ins now also shows a button to always allow the blocked plug-in on that site. Screenshot of the plugin bubble: http://imgur.com/6npqv.png Because we need to change the title and radio button labels depending on whether we track specific plug-ins, we copy them from the ContentSettingBubbleModel. XIB changes: Add a text field for the blocked plug-ins to ContentBlockedPlugins.xib, hooked up to the |blockedResourcesField_| outlet. BUG=39252,38432 TEST=HostContentSettingsMapTest.*,manual Review URL: http://codereview.chromium.org/2873104 Review URL: http://codereview.chromium.org/3124018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56687 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command-line flag to disable SSL/TLS False Startdavidben@chromium.org2010-08-181-0/+3
| | | | | | | | | | | | | | Some servers are not compatible with False Start. Adding a command-line flag will make it easier to test and verify such cases. Also, blacklist www.picnik.com as incompatible with False Start. BUG=50650 TEST=see bug Review URL: http://codereview.chromium.org/3167015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56622 0039d316-1c4b-4281-b951-d872f2087c98
* Added BackgroundModeManager which tracks when background apps are ↵atwilson@chromium.org2010-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | loaded/unloaded and puts Chrome into BackgroundMode appropriately. Added EXTENSION_UNINSTALLING notification which is sent out when a notification is about to be uninstalled. Refactored StatusTray code to move StatusTray under the profile rather than attaching it to the browser process, and removed StatusTrayManager which is no longer needed now that BackgroundModeManager handles creating status icons. BUG=43382 TEST=background_mode_manager_unittests.cc Review URL: http://codereview.chromium.org/3134011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56596 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor SafeBrowsingDatabase for transition to new file format.shess@chromium.org2010-08-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Refactor old SafeBrowsingDatabase code to allow for transitioning from the old SQLite-based store to a new SQLite-based store, and from there to the final raw file-based store. The intended rollout is: - Rollout with SafeBrowsingDatabaseBloom (basically the old code). - Rollout SafeBrowsingDatabase+SafeBrowsingStoreSqlite. This changes much of the code, but not the file format, so revert is possible without resync'ing everyone's store (unless the stores have been corrupted or something). - Rollout SafeBrowsingDatabase+SafeBrowsingStoreFile. This changes the file format while the control code stays the same. Revert requires resync. - Rollout a big cleanup which removes dead code. BUG=28647 TEST=Safe browsing continues to work. Review URL: http://codereview.chromium.org/3141009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56592 0039d316-1c4b-4281-b951-d872f2087c98
* sync: take two for:tim@chromium.org2010-08-181-0/+6
| | | | | | | | | | | | | Added classes to enable session sync functionality. TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by : jerrica@chromium.org Original review http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3133022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56462 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 56423 - Added classes to enable session sync functionality.tim@chromium.org2010-08-171-6/+0
| | | | | | | | | | | | | | | TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by jerrica@chromium.org Original review: http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3184004 TBR=tim@chromium.org Review URL: http://codereview.chromium.org/3127017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56426 0039d316-1c4b-4281-b951-d872f2087c98
* Added classes to enable session sync functionality.tim@chromium.org2010-08-171-0/+6
| | | | | | | | | | | | TEST=ProfileSyncServiceSessionTest BUG=30519 Original patch by jerrica@chromium.org Original review: http://codereview.chromium.org/3168009 Review URL: http://codereview.chromium.org/3184004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56423 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land part of r55416, minus actually moving the test_suite.h contents to a ↵brettw@chromium.org2010-08-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | .cc file. Cleanup in base. This moves the implementation (and a bunch of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56399 0039d316-1c4b-4281-b951-d872f2087c98
* Location provider using Windows 7 Location APIallanwoj@chromium.org2010-08-171-0/+3
| | | | | | | | | | | Implementation of a location provider that uses the Windows 7 Location API. Currently uses polling to get the users location, I will update this to use signals provided by the API in a future patch. BUG=45535 TEST=Two test files included. Review URL: http://codereview.chromium.org/3015053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56332 0039d316-1c4b-4281-b951-d872f2087c98
* Redirects NetLog output to the log file, when the command linemmenke@chromium.org2010-08-131-0/+3
| | | | | | | | | | | | option "--log-net-log" is used. BUG= 50987 TEST= Run "chrome --log-net-log --enable-logging --log-level=0" And then check to make sure the log contains the NetLog events. Review URL: http://codereview.chromium.org/3040051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56021 0039d316-1c4b-4281-b951-d872f2087c98
* remove toolstripserikkay@chromium.org2010-08-121-3/+0
| | | | | | | | | | | BUG=51703 BUG=30178 BUG=25106 TEST=none Review URL: http://codereview.chromium.org/3129003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55921 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55888: Allow per-plugin content settings.bauerb@chromium.org2010-08-121-4/+0
| | | | | | | | | | | | | | | | | | | | | | | Run with --enable-resource-content-settings and --enable-click-to-play to enable. TabSpecificContentSettings now keeps track of which resources were blocked. The content setting bubble displays those resource, and selecting the "allow radio buttons adds exceptions for these resources. The infobar for non-sandboxed plug-ins now also shows a button to always allow the blocked plug-in on that site. Screenshot of the plugin bubble: http://imgur.com/6npqv.png Because we need to change the title and radio button labels depending on whether we track specific plug-ins, we copy them from the ContentSettingBubbleModel. XIB changes: Add a text field for the blocked plug-ins to ContentBlockedPlugins.xib, hooked up to the |blockedResourcesField_| outlet. BUG=39252,38432 TEST=manual Review URL: http://codereview.chromium.org/2873104 TBR: bauerb@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55891 0039d316-1c4b-4281-b951-d872f2087c98
* Allow per-plugin content settings.bauerb@chromium.org2010-08-121-0/+4
| | | | | | | | | | | | | | | | | | | | | Run with --enable-resource-content-settings and --enable-click-to-play to enable. TabSpecificContentSettings now keeps track of which resources were blocked. The content setting bubble displays those resource, and selecting the "allow radio buttons adds exceptions for these resources. The infobar for non-sandboxed plug-ins now also shows a button to always allow the blocked plug-in on that site. Screenshot of the plugin bubble: http://imgur.com/6npqv.png Because we need to change the title and radio button labels depending on whether we track specific plug-ins, we copy them from the ContentSettingBubbleModel. XIB changes: Add a text field for the blocked plug-ins to ContentBlockedPlugins.xib, hooked up to the |blockedResourcesField_| outlet. BUG=39252,38432 TEST=manual Review URL: http://codereview.chromium.org/2873104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55888 0039d316-1c4b-4281-b951-d872f2087c98
* net: add embedded DNSSEC chain support.agl@chromium.org2010-08-111-0/+2
| | | | | | | | | | | | | | | | | Now that the DNS root is signed we have a good trust path in several TLDs (including .org). This patch enables self-signed certificates to include a DNSSEC chain as an extension which proves a CERT record, containing the fingerprint of the public key. The format of the chain is still undecided, so this is only enabled with --enable-dnssec-certs. BUG=none TEST=net_unittests http://codereview.chromium.org/2806076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55771 0039d316-1c4b-4281-b951-d872f2087c98
* Enable GLSL shader translator by default. With this change, Chrome'skbr@google.com2010-08-111-3/+3
| | | | | | | | | | | | WebGL implementation requires GLSL ES compliant shaders. Now pass --disable-glsl-translator on command line to disable the translator. BUG=none TEST=ran WebGL demos Review URL: http://codereview.chromium.org/3121005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55764 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for --no-startup-window flag to launch chrome with no startup ↵atwilson@chromium.org2010-08-111-0/+4
| | | | | | window git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55666 0039d316-1c4b-4281-b951-d872f2087c98
* Adds support for showing the match preview on views. It's behind thesky@chromium.org2010-08-111-0/+3
| | | | | | | | | | | | flag --enable-match-preview. There is still a lot of details to get it working good enough, but this is a good point to check some stuff in. BUG=none TEST=none Review URL: http://codereview.chromium.org/3105004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55665 0039d316-1c4b-4281-b951-d872f2087c98
* Replace --top-sites flag with --no-top-sites flag. TopSites becomes the default.nshkrob@chromium.org2010-08-101-4/+3
| | | | | | | | | | | BUG=none TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55244 Review URL: http://codereview.chromium.org/3054028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55610 0039d316-1c4b-4281-b951-d872f2087c98
* Histograms & Field Trails about prefetchinggavinp@google.com2010-08-091-11/+11
| | | | | | | | | | | | This CL lands some histograms to track prefetching, and a 10% field trial enabling the feature to track performance. BUG=none TEST=none Review URL: http://codereview.chromium.org/3036050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55431 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55400 - Cleanup in base. This moves the implementation (and a bunch ↵nsylvain@chromium.org2010-08-091-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | of header file dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/3035062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55416 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup in base. This moves the implementation (and a bunch of header filebrettw@chromium.org2010-08-091-0/+4
| | | | | | | | | | | | | | | | | | | dependencies) from the multiprocess test and the test_suite headers to .cc files. Moves multiprocess_test to the test directory, and all of this stuff to the existing base_test_support project. I also used the base namespace. Previously other projects included this functionality just by #include because it was all inline, so I had to add dependencies on base_test_support in a few places. Moves and renames the command line switch this was using to base_switches. Move the base switch for process type to chrome switches. TEST=none BUG=none Review URL: http://codereview.chromium.org/3026055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55400 0039d316-1c4b-4281-b951-d872f2087c98
* Disable outdated non-sandboxed plugins.bauerb@chromium.org2010-08-091-0/+3
| | | | | | | | | | | Relanding r55227, which had a compile error. BUG=47731 TEST=Run with --disable-outdated-plugins Review URL: http://codereview.chromium.org/3071028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55394 0039d316-1c4b-4281-b951-d872f2087c98
* Add device motion runtime feature entry and the command line switch.pfeldman@chromium.org2010-08-091-1/+4
| | | | | | Review URL: http://codereview.chromium.org/3029066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55378 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Replace --top-sites flag with --no-top-sites flag. TopSites becomes ↵phajdan.jr@chromium.org2010-08-061-3/+4
| | | | | | | | | | | | the default." Introduced new crashes. TBR=nshkrob Review URL: http://codereview.chromium.org/3026059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55268 0039d316-1c4b-4281-b951-d872f2087c98
* Replace --top-sites flag with --no-top-sites flag. TopSites becomes the default.nshkrob@chromium.org2010-08-061-4/+3
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/3054028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55244 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55227 - Disable outdated non-sandboxed plugins.bauerb@chromium.org2010-08-061-3/+0
| | | | | | | | | | | | BUG=47731 TEST=Run with --disable-outdated-plugins Review URL: http://codereview.chromium.org/3038051 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/3083021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55229 0039d316-1c4b-4281-b951-d872f2087c98
* Disable outdated non-sandboxed plugins.bauerb@chromium.org2010-08-061-0/+3
| | | | | | | | | BUG=47731 TEST=Run with --disable-outdated-plugins Review URL: http://codereview.chromium.org/3038051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55227 0039d316-1c4b-4281-b951-d872f2087c98
* Added constants, strings, protos for app sync.akalin@chromium.org2010-08-061-0/+6
| | | | | | | | | BUG=51225 TEST=none needed Review URL: http://codereview.chromium.org/3072022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55201 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 54771 (and 54795) To enable TCP Preconnection by defaultjar@chromium.org2010-08-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | I pulled out the code to update the socket connectivity stats. I added defensive code which should preclude the crash that was reported on the stability bot. I added a second call to update the stats from ~ClientSocketHandle to ensure that we updated the related ClientSocket when we are torn down. As noted in the original checkin: Enable speculative preconnection by default Added histogram to track preconnection utilization (vs waste). BUG=42694 r=mbelshe Review URL: http://codereview.chromium.org/3050040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55197 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 55071 - Reland 54771 (and 54795) To enable TCP Preconnection by defaultdhollowa@chromium.org2010-08-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Leaks reported with this CL. http://build.chromium.org/buildbot/memory/builders/Linux%20Heapcheck/builds/6130/steps/heapcheck%20test:%20net/logs/stdio Eg. Leak of 24 bytes in 1 objects allocated from: @ 84aece net::SSLClientSocketNSS::BufferRecv @ 84b161 net::SSLClientSocketNSS::DoTransportIO @ 84ca1f net::SSLClientSocketNSS::DoHandshakeLoop @ 84ca6b net::SSLClientSocketNSS::OnHandshakeIOComplete @ 84cadc net::SSLClientSocketNSS::OnRecvComplete @ 84cbb0 net::SSLClientSocketNSS::BufferRecvComplete @ 84ea4b void DispatchToMethod @ 84ea7b CallbackImpl::RunWithParams @ 4b3a10 CallbackRunner::Run @ 853e7e net::TCPClientSocketLibevent::DoReadCallback @ 85426f net::TCPClientSocketLibevent::DidCompleteRead @ 856a5c net::TCPClientSocketLibevent::ReadWatcher::OnFileCanReadWithoutBlocking @ 93d8fd base::MessagePumpLibevent::FileDescriptorWatcher::OnFileCanReadWithoutBlocking @ 93d966 base::MessagePumpLibevent::OnLibeventNotification @ 9da639 event_process_active @ 9da923 event_base_loop @ 93dfd0 base::MessagePumpLibevent::Run @ 8f2873 MessageLoop::RunInternal @ 8f2893 MessageLoop::RunHandler @ 8f2938 MessageLoop::Run @ 44b7f9 TestCompletionCallback::WaitForResult @ 6a1ee6 SSLClientSocketTest_ConnectMismatched_Test::TestBody @ 961831 testing::Test::Run @ 965026 testing::internal::TestInfoImpl::Run @ 96515c testing::TestCase::Run @ 965bbe testing::internal::UnitTestImpl::RunAllTests @ 965d35 testing::UnitTest::Run @ 4a4bf7 TestSuite::Run @ 4a3b6d main @ 2adff5bb11c4 __libc_start_main Suppression: { <insert_a_suppression_name_here> Heapcheck:Leak fun:net::SSLClientSocketNSS::BufferRecv fun:net::SSLClientSocketNSS::DoTransportIO fun:net::SSLClientSocketNSS::DoHandshakeLoop fun:net::SSLClientSocketNSS::OnHandshakeIOComplete fun:net::SSLClientSocketNSS::OnRecvComplete fun:net::SSLClientSocketNSS::BufferRecvComplete fun:void DispatchToMethod fun:CallbackImpl::RunWithParams fun:CallbackRunner::Run fun:net::TCPClientSocketLibevent::DoReadCallback fun:net::TCPClientSocketLibevent::DidCompleteRead fun:net::TCPClientSocketLibevent::ReadWatcher::OnFileCanReadWithoutBlocking fun:base::MessagePumpLibevent::FileDescriptorWatcher::OnFileCanReadWithoutBlocking fun:base::MessagePumpLibevent::OnLibeventNotification fun:event_process_active fun:event_base_loop fun:base::MessagePumpLibevent::Run fun:MessageLoop::RunInternal fun:MessageLoop::RunHandler fun:MessageLoop::Run fun:TestCompletionCallback::WaitForResult fun:SSLClientSocketTest_ConnectMismatched_Test::TestBody fun:testing::Test::Run fun:testing::internal::TestInfoImpl::Run fun:testing::TestCase::Run fun:testing::internal::UnitTestImpl::RunAllTests fun:testing::UnitTest::Run fun:TestSuite::Run fun:main fun:__libc_start_main } I added defensive code in ClientSocketHandle::ReleaseSocket(), which should preclude the crash that was reported on the stability bot. I added a second call to ReleaseSocket() from ~ClientSocketHandle to ensure that we updated the related ClientSocket when we are torn down. r=mbelshe Review URL: http://codereview.chromium.org/3071022 TBR=jar@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55090 0039d316-1c4b-4281-b951-d872f2087c98