summaryrefslogtreecommitdiffstats
path: root/chrome/worker
Commit message (Collapse)AuthorAgeFilesLines
* QueuedSharedWorkerShutdown is flaky.lzheng@chromium.org2011-01-261-1/+2
| | | | | | | | | BUG=70861 TEST=none Review URL: http://codereview.chromium.org/6250029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72588 0039d316-1c4b-4281-b951-d872f2087c98
* Remove action_max_timeout_ms and fix all the callers.tfarina@chromium.org2011-01-191-6/+6
| | | | | | | | | | | (This was a TODO for phajdan.jr). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6354005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71861 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to src/ui/base/system_monitor. Move HiResTimerManager to ↵ben@chromium.org2011-01-191-3/+3
| | | | | | | | | | | | | src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71797 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.MultipleTabsQueuedSharedWorker as flakyphajdan.jr@chromium.org2011-01-171-1/+2
| | | | | | | | | | TBR=atwilson BUG=69881 TEST=ui_tests Review URL: http://codereview.chromium.org/6347003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71597 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit DEPS past WebKit move. Update gyp files and include paths to ↵abarth@chromium.org2011-01-179-28/+28
| | | | | | reflect the move. Consolidate how we DEPS in WebKit source files. Cross fingers. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71585 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 71487 - Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-141-3/+3
| | | | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 TBR=ben@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71489 0039d316-1c4b-4281-b951-d872f2087c98
* Move SystemMonitor to src/ui/base/system_monitor.ben@chromium.org2011-01-141-3/+3
| | | | | | | | | | | | Move HiResTimerManager to src/chrome/common. BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6361002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71487 0039d316-1c4b-4281-b951-d872f2087c98
* Added WARN_UNUSED_RESULT to ScopedTempDir methods.cbentzel@chromium.org2011-01-131-1/+2
| | | | | | | | | BUG=NONE TEST=all targets build, tests pass. Review URL: http://codereview.chromium.org/6042009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71322 0039d316-1c4b-4281-b951-d872f2087c98
* Remove sleep_timeout_ms and fix all the callers.tfarina@chromium.org2011-01-111-2/+3
| | | | | | | | | | | (This was a TODO for phajdan.jr). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6187002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71038 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded includes of chrome_switches.h.thestig@chromium.org2011-01-111-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6086003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70978 0039d316-1c4b-4281-b951-d872f2087c98
* Moves everything related to launching and terminating the browser from ↵nirnimesh@chromium.org2011-01-081-1/+1
| | | | | | | | | | | | | UITestBase into ProxyLauncher. The primary changes are in ui_test.* and proxy_launcher.*. The changes in the remaining files are mostly just changing namespaces from UITestBase:: to ProxyLauncher::. BUG=None. TEST=All tests should pass. No functionality change. Review URL: http://codereview.chromium.org/5967003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70827 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/thread.h to base/threading, fix up callers to use the new location.brettw@chromium.org2011-01-011-1/+1
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6028009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
* Move platform_thread to base/threading and put in the base namespace. I left abrettw@chromium.org2010-12-312-4/+6
| | | | | | | | | | | stub and "using" declarations in the old location to avoid having to change the entire project at once. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6001010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70342 0039d316-1c4b-4281-b951-d872f2087c98
* Move thread local stuff from base to base/threading and consistently use thebrettw@chromium.org2010-12-301-1/+1
| | | | | | | | | | | base namespace. This also fixes references to TLSSlot to base::ThreadLocalStorage::Slot. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5986012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70322 0039d316-1c4b-4281-b951-d872f2087c98
* Make IPC::Channel::Listener:OnMessageReceived have a return value indicating ↵jam@chromium.org2010-12-246-8/+17
| | | | | | | | | whether a message was processed or not. TBR=brettw Review URL: http://codereview.chromium.org/5978003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70139 0039d316-1c4b-4281-b951-d872f2087c98
* (Re-landing http://codereview.chromium.org/5991003 after Chromium OSkbr@chromium.org2010-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | build fix to browser_render_process_host.cc) Added group policy for disabling all client-side 3D APIs in Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/6045003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69791 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 69753 - Added group policy for disabling all client-side 3D APIs in ↵chase@chromium.org2010-12-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Chromium (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6027004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69759 0039d316-1c4b-4281-b951-d872f2087c98
* Added group policy for disabling all client-side 3D APIs in Chromiumkbr@chromium.org2010-12-201-0/+1
| | | | | | | | | | | | | | | | | | | | | (in particular, WebGL and Pepper 3D). This has been hooked up through a new command-line argument (--disable-3d-apis) orthogonal to the existing ones, so that further changes to those command line arguments will not accidentally regress the group policy support. Tested in the following ways: - Verified that --disable-3d-apis disables WebGL and Pepper 3D support on Mac OS X. - Verified that specifying the Disable3DAPIs policy via a JSON file disables WebGL on Linux. - Ran unit_tests and verified that there were no failures introduced. BUG=64806 TEST=ConfigurationPolicyPrefStoreBooleanTest Review URL: http://codereview.chromium.org/5991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69753 0039d316-1c4b-4281-b951-d872f2087c98
* Switch a bunch of remaining filters to derive from BrowserMessageFilters so ↵jam@chromium.org2010-12-131-7/+9
| | | | | | | | that ResourceMessageFilter doesn't have to know about them and vice versa. A bunch of small cleanup in the process. I've added new message files for classes that want their messages dispatched on threads other than the IO. Review URL: http://codereview.chromium.org/5698008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69008 0039d316-1c4b-4281-b951-d872f2087c98
* Start deinlining non-empty virtual methods. (This will be automatically checkederg@google.com2010-12-098-11/+25
| | | | | | | | | | | for in the future.) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5574006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68746 0039d316-1c4b-4281-b951-d872f2087c98
* Add the "virtual" keyword on method overrides that are missing it.erg@google.com2010-12-081-7/+7
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/5648004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68606 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WorkerTest.WorkerWebSocketLayoutTests.yutak@chromium.org2010-12-021-14/+12
| | | | | | | | | | | | | The test now starts HTTPd along with the WebSocket server. Running both servers has become required because WebKit moved WebSocket tests under LayoutTests/http/ directory. BUG=49381 TEST=Run "ui_tests --gtest_filter=WorkerTest.WorkerWebSocketLayoutTests". Review URL: http://codereview.chromium.org/5432002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67946 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug 64688: Expose typed arrays in Workersjianli@chromium.org2010-12-011-0/+3
| | | | | | | | | BUG=64688 TEST=Manual test Review URL: http://codereview.chromium.org/5422001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67819 0039d316-1c4b-4281-b951-d872f2087c98
* Check content settings when accessing web databases from workers.jochen@chromium.org2010-11-252-5/+22
| | | | | | | | | BUG=40095 TEST=none Review URL: http://codereview.chromium.org/3053007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67395 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some obsolete FLAKY_ markers, and add some missing bug referencesstuartmorgan@chromium.org2010-11-091-2/+1
| | | | | | | | | BUG=29020,35221,62143,62595 TEST=N/A Review URL: http://codereview.chromium.org/4759001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65589 0039d316-1c4b-4281-b951-d872f2087c98
* Split out command IDs from chrome_dll_resource.h.evan@chromium.org2010-11-081-1/+1
| | | | | | | | | | | | The name of this file is a leftover from Windows. Split the command ids (which are used on all platforms) out, leaving just the Windows-specific resource IDs in the original file. TEST=compiles Review URL: http://codereview.chromium.org/4710001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65453 0039d316-1c4b-4281-b951-d872f2087c98
* Added ability to propogate create to suggest whether or not filesystem's ↵kkanetkar@chromium.org2010-11-031-1/+1
| | | | | | | | | | | | | root should be created if the path doesn't exist. BUG=None TEST=None Review URL: http://codereview.chromium.org/4350001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64862 0039d316-1c4b-4281-b951-d872f2087c98
* Convert implicit scoped_refptr constructor calls to explicit ones, part 1thakis@chromium.org2010-11-011-2/+2
| | | | | | | | | | | This CL was created automatically by this clang rewriter: http://codereview.appspot.com/2776043/ . I manually fixed a few rough spots of the rewriter output (doh1-3) and fixed all presubmit errors. BUG=28083 TEST=None Review URL: http://codereview.chromium.org/4192012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64573 0039d316-1c4b-4281-b951-d872f2087c98
* Add a bunch of missing bug references to FLAKY testsstuartmorgan@chromium.org2010-10-271-0/+1
| | | | | | | | | BUG=None TEST=N/A Review URL: http://codereview.chromium.org/4135007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64150 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert r63457, "WorkerWebKitClientImpl::mimeTypeForExtension should ↵levin@chromium.org2010-10-221-3/+3
| | | | | | not use WorkerThread::current"" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63460 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r63457, "WorkerWebKitClientImpl::mimeTypeForExtension should not use ↵levin@chromium.org2010-10-221-3/+3
| | | | | | WorkerThread::current" git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63458 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerWebKitClientImpl::mimeTypeForExtension should not use ↵kinuko@chromium.org2010-10-221-3/+3
| | | | | | | | | | | | | | | WorkerThread::current Currently FileEntry.file() or FileEntrySync.file() calls File::create() on the (WebKit's) worker thread but on chromium we use WorkerThread::current() (which assumes WebKit's main thread in the worker process) to process the mime request initiated by File::create(). File::create() needs to be called on the main thread (this is related to webkit.org/b/47700) or WorkerWebKitClientImpl::mimeTypeForExtension should not use WorkerThread::current() to process the request. BUG=60081 TEST=no crash in fast/filesystem/workers/file-from-file-entry.html Review URL: http://codereview.chromium.org/4012002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63454 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerClose as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59786 TEST=ui_tests Review URL: http://codereview.chromium.org/3820011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63055 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.WorkerCloseFast as flaky.phajdan.jr@chromium.org2010-10-191-1/+2
| | | | | | | | | | | TBR=dimich BUG=59780 TEST=ui_tests Review URL: http://codereview.chromium.org/3797015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63052 0039d316-1c4b-4281-b951-d872f2087c98
* Flip the filesystem flag from --enable to --disable.kinuko@chromium.org2010-10-161-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3750010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62835 0039d316-1c4b-4281-b951-d872f2087c98
* Support file utilities and mime-related methods on workers.kinuko@chromium.org2010-10-152-21/+86
| | | | | | | | | | | They are necessary to support File::create and File.size() on workers. BUG=none TEST=none Review URL: http://codereview.chromium.org/3660003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62692 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker tests for FileSystem API.kinuko@chromium.org2010-10-071-0/+51
| | | | | | | | | | | | Depends on the patch for webkit.org/b/46405 Currently it's disabled as the feature is not turned on by default yet (may need some trick to force enabling it for ui_tests). BUG=32277 TEST=WorkerTest.WorkerFileSystemLayoutTest Review URL: http://codereview.chromium.org/3576005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61770 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply r61237: FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-042-3/+14
| | | | | | | | | | | | | | | Removes changes to code in webkit/ that broke chrome_frame. Will debug that portion later. (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles First Review URL: http://codereview.chromium.org/3563004 Review URL: http://codereview.chromium.org/3621003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61435 0039d316-1c4b-4281-b951-d872f2087c98
* WorkerTest.WorkerWebSocketLayoutTests: disable, as it always times out.evan@chromium.org2010-10-041-2/+2
| | | | | | | | BUG=49381 Review URL: http://codereview.chromium.org/3617004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61397 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for websocket tests move under http/testsukai@chromium.org2010-10-041-0/+4
| | | | | | | | | | | | | websocket layout tests has been moved under http/tests/websocket/tests. We need to checkout these directory under src/chrome/test/data/layout_tests/LayoutTests for worker tests and extension api tests. Fix test path for worker tests. BUG=57662 TEST=trybot Review URL: http://codereview.chromium.org/3581010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61350 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "FBTF: Another big ctor/dtor cleanup found by automated tools."erg@google.com2010-10-012-14/+3
| | | | | | | | | | | This reverts commit 27ea47d65cf8767f350113d5ad9e25170efde811 (r61237). BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3609005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61240 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Another big ctor/dtor cleanup found by automated tools.erg@google.com2010-10-012-3/+14
| | | | | | | | | | | (Shaves ~2MB off Linux Debug .a files) BUG=none TEST=compiles Review URL: http://codereview.chromium.org/3563004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61237 0039d316-1c4b-4281-b951-d872f2087c98
* Prospectively re-enabling QueuedSharedWorkerShutdown.atwilson@chromium.org2010-10-011-8/+1
| | | | | | | | | BUG=42641 TEST=the test itself Review URL: http://codereview.chromium.org/3526006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61226 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker support for FileSystem API.kinuko@chromium.org2010-09-2710-4/+49
| | | | | | | | | | | | | (corresponds to https://bugs.webkit.org/show_bug.cgi?id=45808) No support for shared workers yet. BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3394003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60683 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest.WorkerHttpLayoutTests. It always times out.evan@chromium.org2010-09-171-2/+2
| | | | | | BUG=16934 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59812 0039d316-1c4b-4281-b951-d872f2087c98
* Mark WorkerTest.QueuedSharedWorkerShutdown as flaky on Mac, it times out.bauerb@chromium.org2010-09-091-1/+8
| | | | | | | BUG=42641 TBR=atwilson@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58927 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 8)thestig@chromium.org2010-09-081-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3232003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58794 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending BlobData to browser process. Also support sending UploadDatajianli@chromium.org2010-08-273-0/+15
| | | | | | | | | | | with the blob info to browser process. BUG=none TEST=none Review URL: http://codereview.chromium.org/3108042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57707 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Move individual XXXMsg_Params structs to a new file.erg@google.com2010-08-241-0/+1
| | | | | | | | | | | | | | | | The new file, render_messages_params.h, is included in 57 files, while render_messages.h is included in 176 files. Moving the Params structs to their own file allow pruning the included headers. (Part 2 of this cleanup will be sorting the individual structs into themes to further minimize header inclusion.) BUG=51411 TEST=compiles Review URL: http://codereview.chromium.org/3119035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57229 0039d316-1c4b-4281-b951-d872f2087c98
* Enable WorkerTest.QueuedSharedWorkerShutdown because it seems to work 100% now.atwilson@chromium.org2010-08-241-2/+1
| | | | | | | | | BUG=42641 TEST=WorkerTest.QueuedSharedWorkerShutdown Review URL: http://codereview.chromium.org/3153036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57144 0039d316-1c4b-4281-b951-d872f2087c98