summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove sleep_timeout from TestTimeouts.phajdan.jr@chromium.org2010-09-285-13/+2
| | | | | | | | | | | This still preserves the compatibility part in ui_test.h. BUG=none TEST=none Review URL: http://codereview.chromium.org/3391026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60764 0039d316-1c4b-4281-b951-d872f2087c98
* FTP: fix directory listing parser for ftp.symantec.com.phajdan.jr@chromium.org2010-09-282-3/+8
| | | | | | | | | | | | Some servers do not send the symlink target that we were expecting, possibly for security reasons. BUG=56972 TEST=net_unittests Review URL: http://codereview.chromium.org/3416028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60763 0039d316-1c4b-4281-b951-d872f2087c98
* Rolled webkit r68412:r68482morrita@chromium.org2010-09-281-1/+1
| | | | | | | | BUG=none TEST=none TBR=senorblanco git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60762 0039d316-1c4b-4281-b951-d872f2087c98
* Remove our local modifications to sqlite's os_unix.c now thatphajdan.jr@chromium.org2010-09-282-90/+17
| | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/68310 has landed. They are no longer necessary, and are not used. This brings our sqlite copy a little closer to the upstream version and is a part of an effort to allow compiling with the system-provided sqlite. BUG=50769, 22208 TEST=none Review URL: http://codereview.chromium.org/3390032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60761 0039d316-1c4b-4281-b951-d872f2087c98
* Change name of PollingPolicyInterface.allanwoj@chromium.org2010-09-283-12/+12
| | | | | | | | | | | Renamed PollingPolicyInterface to GatewayPollingPolicyInterface as there was a name conflict with one in wifi_data_provider_common.h BUG=None TEST=Chrome compiles. Review URL: http://codereview.chromium.org/3453026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60760 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled external_extensions.json in Guest mode.avayvod@chromium.org2010-09-281-6/+12
| | | | | | | | | | | Added browser_defaults::extensions_enabled to control this behavior. BUG=chromiumos:4420 TEST=Go to Guest mode and verify that no extensions are loaded by going to chrome://extensions. Review URL: http://codereview.chromium.org/3462016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60759 0039d316-1c4b-4281-b951-d872f2087c98
* Update V8 to 2.4.6.whesse@chromium.org2010-09-281-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3381026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60757 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue in 'Clear browsing data' dialog with Cancel vs Close button.tfarina@chromium.org2010-09-282-53/+38
| | | | | | | | | | | | | | | | | | We should *only* save the state of the checkboxes when the user click on the button to clear the data, otherwise we shouldn't change the preferences of the checkboxes. Along the way, rename the button from 'Close' to 'Cancel'. BUG=35098 TEST=open the dialog, see the current state of the checkboxes, click 'Cancel'. reopen the dialog, the state should be the same. Now uncheck some checkbox, click 'Cancel', reopen the dialog the unchecked checkbox should be checked. Open the dialog again, uncheck a checkbox and click 'Clear browsing data', reopen the dialog, that checkbox should be *unchecked*. Review URL: http://codereview.chromium.org/3389033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60755 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60747 - Add a new class SpdyProxyClientSocket which implements ↵rch@chromium.org2010-09-2812-1620/+35
| | | | | | | | | | | | | | | | | ClientSocket by sending a CONNECT request via a SPDY SYN_STREAM frame to a SPDY proxy, and then reading/writing data to/from SPDY Data frames. BUG=29625 TEST=none Review URL: http://codereview.chromium.org/3432009 TBR=rch@chromium.org Review URL: http://codereview.chromium.org/3391029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60754 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60739 (still leaks on ChromiumOS!) - Reland r59972: Eagerly set the ↵willchan@chromium.org2010-09-2810-225/+102
| | | | | | | | | | | | | | | | | | IO loop used for OCSP. ChromeOS will create a special Profile for login. Previously, OCSP initialization was done for the "default" ChromeURLRequestContext for each Profile. Since we can have multiple profiles, this causes the initialization (and uninitialization) to happen multiple times, which causes problems for OCSP since we use statics. The solution is to identify the "main" Profile. We create said Profile in BrowserMain. I add an "is_main_" variable to URLRequestContextGetter and URLRequestContext, so that only the "main" URLRequestContext will initialize OCSP. The only change from r59972 is the location that I set_is_main(). I set it when we set the default request context. This is because, by the time I had called set_is_main() in BrowserMain, the ChromeURLRequestContextGetter was already created (it gets created during the CreateProfile() function). So I was too late. BUG=55940 TEST=Manual Review URL: http://codereview.chromium.org/3391028 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/3421039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60753 0039d316-1c4b-4281-b951-d872f2087c98
* [Chrome OS] Refactor Canonicalize() method into base class to prepare for ↵cmasone@chromium.org2010-09-2811-76/+111
| | | | | | | | | | | new Authenticator subclass BUG=chromium-os:4929 TEST=unit tests Review URL: http://codereview.chromium.org/3436031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60752 0039d316-1c4b-4281-b951-d872f2087c98
* Wait for renaming chrome.exe to finish during shutdown forhuanr@chromium.org2010-09-281-14/+2
| | | | | | | | | | | | system level in use update. Also remove obsoleted code in this code path. BUG=55969 TEST=repro steps in BUG Review URL: http://codereview.chromium.org/3429029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60751 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new class SpdyProxyClientSocket which implements ClientSocketrch@chromium.org2010-09-2812-35/+1620
| | | | | | | | | | | | by sending a CONNECT request via a SPDY SYN_STREAM frame to a SPDY proxy, and then reading/writing data to/from SPDY Data frames. BUG=29625 TEST=none Review URL: http://codereview.chromium.org/3432009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60747 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory problem in DecoderVerbatimhclam@chromium.org2010-09-282-3/+15
| | | | | | | | | | | | Change from c_str() to data() also did some boundary checks to make there's no memory error. BUG=None TEST=None Review URL: http://codereview.chromium.org/3388024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60746 0039d316-1c4b-4281-b951-d872f2087c98
* DOMUI: Fix a typo that caused a text to be shown as 'undefined'.tfarina@chromium.org2010-09-281-1/+1
| | | | | | | | | | | BUG=53624 TEST=out/Debug/chrome --enable-tabbed-options, Options > Under the hood > Content Settings > Javascript, you should see "Do not allow any site to run Javascript", instead of 'undefined'. Review URL: http://codereview.chromium.org/3429028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60745 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/3387008 for sadrul:tfarina@chromium.org2010-09-2810-1/+1504
| | | | | | | | | | | | | | | | linux: Add support for undo in the omnibox. GtkTextView does not support undo. So borrow the relevant code from GtkSourceView. BUG=18210 TEST=None Patch from sadrul <sadrul@chromium.org> Review URL: http://codereview.chromium.org/3429025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60744 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling access notifications for login wizardchaitanyag@chromium.org2010-09-2818-44/+211
| | | | | | Review URL: http://codereview.chromium.org/3442011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60743 0039d316-1c4b-4281-b951-d872f2087c98
* Change ChildProcessSecurityPolicy to store a list of allowed flags fordumi@chromium.org2010-09-289-37/+143
| | | | | | | | | | | | each file. BUG=none TEST=none Review URL: http://codereview.chromium.org/3431032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60742 0039d316-1c4b-4281-b951-d872f2087c98
* Notify all rosters on opening and closing chats, so they can update visual ↵seh@chromium.org2010-09-285-27/+69
| | | | | | | | | | status. TEST=Open iGoogle, Gmail and the central roster. Start a chat. Check status in all 3 rosters. BUG=chromium-os:1484 Review URL: http://codereview.chromium.org/3455024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60741 0039d316-1c4b-4281-b951-d872f2087c98
* Fix unittest to not use an invalid GURL, as the underlying bookmarks APIs ↵pkasting@chromium.org2010-09-281-2/+2
| | | | | | | | | | | expect callers to not do that (they NOTREACHED()). This URL is more like the real cases the original patch that added this test was trying to handle. BUG=56967 TEST=none TBR=sky Review URL: http://codereview.chromium.org/3439028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60740 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r59972: Eagerly set the IO loop used for OCSP.willchan@chromium.org2010-09-2810-102/+225
| | | | | | | | | | | | | ChromeOS will create a special Profile for login. Previously, OCSP initialization was done for the "default" ChromeURLRequestContext for each Profile. Since we can have multiple profiles, this causes the initialization (and uninitialization) to happen multiple times, which causes problems for OCSP since we use statics. The solution is to identify the "main" Profile. We create said Profile in BrowserMain. I add an "is_main_" variable to URLRequestContextGetter and URLRequestContext, so that only the "main" URLRequestContext will initialize OCSP. The only change from r59972 is the location that I set_is_main(). I set it when we set the default request context. This is because, by the time I had called set_is_main() in BrowserMain, the ChromeURLRequestContextGetter was already created (it gets created during the CreateProfile() function). So I was too late. BUG=55940 TEST=Manual Review URL: http://codereview.chromium.org/3391028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60739 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a c_str() use-after-free bug in the printing code.nick@chromium.org2010-09-281-1/+2
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/3454022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60735 0039d316-1c4b-4281-b951-d872f2087c98
* Change the default SOCKS version used by gnome settings (and environment ↵eroman@chromium.org2010-09-282-16/+20
| | | | | | | | | | variables) to be 5 instead of 4. BUG=56833 TEST=Open Chrome in gnome. Go to change the proxy settings (which will pop open the gnome network settings). Enter as socks proxy server, "localhost:8080". Now load chrome://net-internals/#proxy and verify that it says the proxy server is "socks5://localhost:8080" (and NOT socks4://localhost:8080). Review URL: http://codereview.chromium.org/3413037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60734 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable a test that's failing a CHECK so the suite will keep ↵pkasting@chromium.org2010-09-281-1/+1
| | | | | | | | | | running. BUG=56967 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60733 0039d316-1c4b-4281-b951-d872f2087c98
* Fixed user feedback crash on parameter check (std exception was thrown).zelidrag@chromium.org2010-09-281-1/+2
| | | | | | | | | BUG=chromium-os:6543 TEST=make sure chrome:bugreport does not throw exception Review URL: http://codereview.chromium.org/3405037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60732 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Remove the debug-only |page_number_| from PrintingContext, which hasjhawkins@chromium.org2010-09-284-47/+0
| | | | | | | | | | | outlived its usefulness. BUG=none TEST=none Review URL: http://codereview.chromium.org/3417025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60731 0039d316-1c4b-4281-b951-d872f2087c98
* [gtk] Update page-info icons to match behavior in page_info_window_view.cc.csilv@chromium.org2010-09-271-1/+1
| | | | | | | | BUG=52916 TEST=Verify correct page-info icons in GTK. Review URL: http://codereview.chromium.org/3502007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60730 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper's FileSystem implementation.dumi@chromium.org2010-09-278-12/+341
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3394017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60729 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Push checking of |context| one level lower, as the differentjhawkins@chromium.org2010-09-272-14/+3
| | | | | | | | | | | platforms have different expectations at this level. BUG=none TEST=none Review URL: http://codereview.chromium.org/3418034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60728 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo in a function name.pkasting@chromium.org2010-09-274-6/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3467017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60727 0039d316-1c4b-4281-b951-d872f2087c98
* Don't treat ';' as an authority terminator when parsing a potential URL. ↵pkasting@chromium.org2010-09-272-1/+2
| | | | | | | | | | This was making the omnibox believe that "tl;dr" was a URL with "tl" as a host and ";dr" as a path, confusing it. BUG=56967 TEST=Covered by unittests Review URL: http://codereview.chromium.org/3440032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60726 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily add a failing test to local test_expectations.txt.senorblanco@chromium.org2010-09-271-0/+3
| | | | | | | | | BUG=none TEST=green layout bots TBR=morrita git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60725 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Call PrintingContext::AskUserForSettings() on the UI thread for Linuxjhawkins@chromium.org2010-09-272-6/+6
| | | | | | | | | | | as well, because gtk cannot be called on a non-UI thread. BUG=none TEST=none Review URL: http://codereview.chromium.org/3384035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60724 0039d316-1c4b-4281-b951-d872f2087c98
* The original intent of the test was to test badd HTTPS sub-resources inside ↵jcivelli@chromium.org2010-09-271-1/+1
| | | | | | | | | | | | | | a good HTTPS page. Somehow it got changed to bad HTTPS in HTTP, but the test was still retrieving the URL from the HTTPS server (which was not running) causing the sub-resource not be found. I looked quickly to see if we could catch calls to GetURL on a non-started server (so we could DCHECK) but there does not seem to be an immediate way to do that. BUG=40932 TEST=Run the test Review URL: http://codereview.chromium.org/3452026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60722 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-1/+365
| | | | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60703 Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60721 0039d316-1c4b-4281-b951-d872f2087c98
* dom-ui settings: use 'Settings' terminology in about:labs instead of 'Options'.csilv@chromium.org2010-09-271-4/+4
| | | | | | | | BUG=56151 TEST=Verify about:labs refers to 'Tabbed Settings'. Review URL: http://codereview.chromium.org/3436032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60720 0039d316-1c4b-4281-b951-d872f2087c98
* dom-ui settings: properly implement the 'metrics reporting' checkbox.csilv@chromium.org2010-09-275-10/+87
| | | | | | | | | | | | | - the metrics reporting preference is unique, so handle it correctly. - show a 'restart required' alert when changing the metrics reporting setting. - enhance alert overlay to allow only an OK button. - fix a bug in the alert overlay where it was incorrectly loading default strings. BUG=56536 TEST=Verify that the metrics reporting checkbox works properly on Chrome branded builds. Review URL: http://codereview.chromium.org/3419020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60717 0039d316-1c4b-4281-b951-d872f2087c98
* r60095 switched cc_infobar_ to be raw pointer but forgot to initialize it.avi@chromium.org2010-09-271-3/+6
| | | | | | | | | BUG=CID 13105, CID 13106 TEST=dunno Review URL: http://codereview.chromium.org/3389035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60716 0039d316-1c4b-4281-b951-d872f2087c98
* Fix nitspiman@chromium.org2010-09-271-2/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3381027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60715 0039d316-1c4b-4281-b951-d872f2087c98
* Add NULL-checks to plugin delegate message handlersstuartmorgan@chromium.org2010-09-271-7/+13
| | | | | | | | | | | The handlers for messages that originate from render_view, rather than being results of actions started by the plugin itself, can't assume that plugin initialization succeeded. BUG=57085 TEST=Plugins that don't load shouldn't crash. Review URL: http://codereview.chromium.org/3404024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60712 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit r68387:68412.senorblanco@chromium.org2010-09-271-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=morrita Review URL: http://codereview.chromium.org/3414022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60711 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a TouchFile() operation.dumi@chromium.org2010-09-277-1/+73
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3417018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60710 0039d316-1c4b-4281-b951-d872f2087c98
* Kill a renderer process if ViewHostMsg_AsyncOpenFile comes with adumi@chromium.org2010-09-271-0/+14
| | | | | | | | | | | request to write a file, as the renderer is most probably compromised. BUG=56725 TEST=none Review URL: http://codereview.chromium.org/3502001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60709 0039d316-1c4b-4281-b951-d872f2087c98
* Corresponding trunk rename for pdf pref name.jam@chromium.org2010-09-271-1/+1
| | | | | | Review URL: http://codereview.chromium.org/3452029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60707 0039d316-1c4b-4281-b951-d872f2087c98
* Bumped ANGLE revision.alokp@chromium.org2010-09-271-1/+1
| | | | | | Review URL: http://codereview.chromium.org/3462018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60706 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-364/+1
| | | | | | | | | | RectangleUpdateDecoder abstraction." Reverting r60703 due to build break. TBR=willchan git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60705 0039d316-1c4b-4281-b951-d872f2087c98
* Printing: Push checking of |context| one level lower, as the differentjhawkins@chromium.org2010-09-275-7/+9
| | | | | | | | | | | platforms have different expectations at this level. BUG=none TEST=none Review URL: http://codereview.chromium.org/3475021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60704 0039d316-1c4b-4281-b951-d872f2087c98
* Add in a new FrameConsumer interface, Decode API, and a ↵ajwong@chromium.org2010-09-276-1/+364
| | | | | | | | | | | | | RectangleUpdateDecoder abstraction. This should allow a decoder that can still request the view to allocate frames without being owned by the view itself. This allows for cleaner threading semantics and reduced coupling of classes. The new decoder API keeps the decoder from being aware of the network packet types tightening up the API layering. BUG=52833 TEST=None. This code isn't used yet. Review URL: http://codereview.chromium.org/3335012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60703 0039d316-1c4b-4281-b951-d872f2087c98
* sync_unit_tests: add test for unknown field retention.agl@chromium.org2010-09-274-0/+62
| | | | | | | | | | | | | | Retaining unknown fields is important for the sync protocol, so it's good to test that it's working. In the future, when we hopefully have a lite runtime with retention abilities, this test will make sure that we haven't broken anything. BUG=56579 TEST=sync_unit_tests http://codereview.chromium.org/3384024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60701 0039d316-1c4b-4281-b951-d872f2087c98
* generate_stubs.py to support varidiac functionshclam@chromium.org2010-09-271-9/+66
| | | | | | | | | | | | | | | | This patch is already been reviewed in: http://codereview.chromium.org/3005036/show Splitting this out inorder to make changes to FFmpeg build. TBR=ajwong BUG=None TEST=None Review URL: http://codereview.chromium.org/3391027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60700 0039d316-1c4b-4281-b951-d872f2087c98