summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/websharedworker_proxy.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup some deprecated webkit api usage now that we've rolled the new api ↵michaeln@chromium.org2010-05-121-8/+0
| | | | | | | | | | | into view. BUG=39368 TEST=n/a Review URL: http://codereview.chromium.org/2021008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46998 0039d316-1c4b-4281-b951-d872f2087c98
* First step in adding a parameter to a method of WebKit::WebSharedWorker.michaeln@chromium.org2010-05-051-1/+10
| | | | | | | | | | | | | | Adding an implementation of the soon to be defined pure virtual in the WebKitAPI, while leaving the soon to be deprecated method in place for the time being. I'll come back later to remove the deprecated method. BUG=39368 TEST=none Review URL: http://codereview.chromium.org/1954006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46503 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes a race condition when a shared worker exits while one parent is loadingatwilson@chromium.org2010-02-171-0/+5
| | | | | | | | | | | | | | | it. Changed the shared worker startup code to assign a route ID at the time that we initially lookup the worker, and pass that same route ID in when we later try to create the worker, to gracefully handle this race condition. BUG=29243 TEST=existing tests suffice (can't reproduce race condition in tests) Review URL: http://codereview.chromium.org/600103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39274 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored code to allow associating workers with multiple renderers.atwilson@chromium.org2010-01-281-0/+1
| | | | | | | | | | | | | | | | SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36888 Reverted and reopened due to valgrind failures. Review URL: http://codereview.chromium.org/509016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37365 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 36888 - Refactored code to allow associating workers with multiple ↵pkasting@chromium.org2010-01-231-1/+0
| | | | | | | | | | | | | | | | | renderers. SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Review URL: http://codereview.chromium.org/509016 TBR=atwilson@chromium.org Review URL: http://codereview.chromium.org/549138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36929 0039d316-1c4b-4281-b951-d872f2087c98
* Refactored code to allow associating workers with multiple renderers.atwilson@chromium.org2010-01-221-0/+1
| | | | | | | | | | | | SharedWorkers now gracefully handle http auth requests after their initial window has closed. BUG=27660 TEST=WorkerHttpAuth,SharedWorkerHttpAuth uitests Review URL: http://codereview.chromium.org/509016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36888 0039d316-1c4b-4281-b951-d872f2087c98
* Added lifecycle management and sharing support for SharedWorkers. SharedWorkersatwilson@chromium.org2009-11-131-2/+3
| | | | | | | | | | | | can now outlive their parent pages and can be shared by multiple instances across multiple tabs. BUG=26233 TEST=ui tests Review URL: http://codereview.chromium.org/390017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31868 0039d316-1c4b-4281-b951-d872f2087c98
* Upstreaming WebKit.gypyaar@chromium.org2009-11-121-1/+1
| | | | | | | | | | | | This mega patch contains a few simple but tightly dependent changes: 1. Deletion of webkit/api/WebKit.gyp. The file now lives in webkit.org. 2. Rename of webkit/webkit.gyp to webkit/webkit_glue.gyp. Having two webkit.gyp was a source of developer confusion. 3. Gyp dependencies are updated across chromium to point at the upstream WebKit.gyp and the renamed webkit_glue.gyp. 4. Some 200+ files include paths fixed to point to third_party/WebKit/WebKit/chromium instead of webkit/api. The later will be deleted in a subsequent patch. Review URL: http://codereview.chromium.org/387020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31749 0039d316-1c4b-4281-b951-d872f2087c98
* Changed SharedWorkerScriptLoader and WebSharedWorkerProxy to stay alive ↵atwilson@chromium.org2009-11-091-1/+4
| | | | | | | | | | | until worker initialization is complete (they were being freed before the connect event was sent to the worker. BUG=26233 TEST=none (will be enabled after a separate upstream patch is landed) Review URL: http://codereview.chromium.org/372047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31417 0039d316-1c4b-4281-b951-d872f2087c98
* Initial WebSharedWorkerImpl implementationatwilson@chromium.org2009-11-051-2/+4
| | | | | | | | | | | | | | | Refactored WebWorkerImpl into WebWorkerBase to enable code sharing with WebSharedWorkerImpl. Changed how SharedWorkers are instantiated (now routed through WebFrameClient just like DedicatedWorkers, because WebFrameClient is the only one who knows how to send messages to RenderViewHost. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/362020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31151 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-051-0/+44
| | | | | | | | | | | | | Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31077 Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31096 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Added beginnings of browser-process support for shared workers."atwilson@chromium.org2009-11-051-44/+0
| | | | | | This reverts commit 31077. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31080 0039d316-1c4b-4281-b951-d872f2087c98
* Added beginnings of browser-process support for shared workers.atwilson@chromium.org2009-11-051-0/+44
Refactored WebWorkerClientProxy into two classes - WebWorkerDispatcher which dispatches incoming IPCs for the worker, and WebWorkerClientProxy, which handles outgoing API calls from WebWorkerImpl. This allows WebWorkerClientProxy to be reused by WebSharedWorkerDispatcher. BUG=26233 TEST=none (will enable layout tests when basic functionality available) Review URL: http://codereview.chromium.org/351004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31077 0039d316-1c4b-4281-b951-d872f2087c98