summaryrefslogtreecommitdiffstats
path: root/content/browser/worker_host
Commit message (Collapse)AuthorAgeFilesLines
* Remove disable-embedded-shared-worker flag and shared worker process related ↵horo@chromium.org2014-07-2513-2713/+0
| | | | | | | | | | codes. BUG=327256 Review URL: https://codereview.chromium.org/411283002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285521 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of shared worker code path when WebView guest creates a ↵hanxi@chromium.org2014-07-102-11/+32
| | | | | | | | | | shared worker to request file system access. BUG=343382 Review URL: https://codereview.chromium.org/338353007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282272 0039d316-1c4b-4281-b951-d872f2087c98
* Move resource_type.* from webkit/ to content/.tfarina@chromium.org2014-07-052-2/+2
| | | | | | | | | | | | Put it in content namespace while doing this. BUG=338338 TEST=None TBR=jam@chromium.org Review URL: https://codereview.chromium.org/370833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281469 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --enable-service-worker flagjsbell@chromium.org2014-06-201-1/+0
| | | | | | | | | | | | | | | | | | Now the --experimental-web-platform-features flag solely controls whether Service Worker is web-exposed. This lets us remove a virtual test suite and also exposes more of SW to perf and crash monitoring before actually shipping. This is a clone of https://codereview.chromium.org/339973003/ by falken@ with a trivial browsertest fix. BUG=365201 TBR=falken,michaeln,jam,kalman Review URL: https://codereview.chromium.org/348843003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278868 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid sync IPCs for FileSystem APIhanxi@chromium.org2014-05-242-7/+8
| | | | | | | | | | | | | | This patch continues the work of issue 170733004(https://codereview.chromium.org/170733004). Two things are done in this patch: 1) Update the patch to compile again. 2) Move IPC handler to chrome_render_message_filter, and update content_settings_observer.cc. BUG=343382 Review URL: https://codereview.chromium.org/273513005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272676 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill ↵jam@chromium.org2014-05-163-7/+5
| | | | | | | | | | their child processes. R=avi@chromium.org Review URL: https://codereview.chromium.org/292443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271096 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that any IPC sent from a child process that couldn't be deserialized ↵jam@chromium.org2014-05-151-9/+1
| | | | | | | | | | | | causes that process to be killed. Today we do this only for a subset of IPCs and not all process types. R=jar@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/283313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270839 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for passing an arbitrary parameter to an IPC message handler. ↵jam@chromium.org2014-05-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation is for WebContentsObserver to pass RenderFrameHost* to message handlers easily. As an example, an observer would look like this: bool FooWebContentsObserver::OnMessageReceived( const IPC::Message& message, RenderFrameHost* render_frame_host) { IPC_BEGIN_MESSAGE_MAP_WITH_PARAM(FooWebContentsObserver, message, RenderFrameHost, render_frame_host) IPC_MESSAGE_HANDLER(FooHostMsg_Bar, OnBar) . . . void FooWebContentsObserver::OnBar(RenderFrameHost* render_frame_host, ... You can of course still have dispatchers without the extra parameter as before. This is generalizing the existing code that allows an IPC message handler to have a "const IPC::Message& message) first parameter to get access to the IPC. Sync IPCs don't support this yet. It's a lot more work because for them we conveniently reuse tuple's DispatchToMethod. This isn't urgent yet, since sync IPCs aren't dispatched on the UI thread for the most part because of NPAPI and Windows, so punting on this for now. BUG=304341 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/283623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270237 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce enablePreciseMemoryInfo switch and apply it to both renderer and ↵pan.deng@intel.com2014-05-031-1/+1
| | | | | | | | | | shared worker BUG=326370 Review URL: https://codereview.chromium.org/268623009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268040 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce WorkerStoragePartitionId and use it in SharedWorkerInstance.horo@chromium.org2014-04-242-0/+49
| | | | | | | | | | | WorkerStoragePartitionId can be used to identify each WorkerStoragePartitions. We can hold WorkerStoragePartitionId without extending the lifetime of all objects in the WorkerStoragePartition. BUG=366182,327256 Review URL: https://codereview.chromium.org/258513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265930 0039d316-1c4b-4281-b951-d872f2087c98
* Reverse the embedded-shared-worker flag to turn the feature on by default.horo@chromium.org2014-04-222-3/+9
| | | | | | | | BUG=327256 Review URL: https://codereview.chromium.org/240843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265251 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --debug-on-start and --debug-children.pkasting@chromium.org2014-04-171-12/+0
| | | | | | | | | | | | | | | | | debug_on_start_win.cc also had some code to support --wait-for-debugger, but I don't think it's important to preserve it. This would only have any effect in modules which included debug_on_start.h, which was basically just test code; and it also wouldn't have any effect when the component build is enabled, which I suspect is true for most developers trying to run tests. I didn't remove any of the other pieces of --wait-for-debugger elsewhere. BUG=359822 TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/227723008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264671 0039d316-1c4b-4281-b951-d872f2087c98
* remove redundant ifdefsestade@chromium.org2014-04-151-2/+2
| | | | | | | | | | OS_CHROMEOS implies OS_LINUX, so OS_LINUX || OS_CHROMEOS can be simplified to OS_LINUX BUG=none Review URL: https://codereview.chromium.org/237673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263993 0039d316-1c4b-4281-b951-d872f2087c98
* Plumb request_context, ipc_process_id, and blob_storage_context through to ↵ericu@chromium.org2014-04-141-1/+4
| | | | | | | | | | where they'll be needed. BUG=108012 Review URL: https://codereview.chromium.org/229623002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263693 0039d316-1c4b-4281-b951-d872f2087c98
* Make shared worker aware kEnableSharedWorkerMemoryInfo switchpan.deng@intel.com2014-04-111-0/+1
| | | | | | | | | | This CL works for enabling performance.memory in shared worker, it introduce switch kEnableSharedWorkerMemoryInfo to shared worker process,then pass to Blink via Blink's runtime enabled flags. BUG=326370 Review URL: https://codereview.chromium.org/183153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263184 0039d316-1c4b-4281-b951-d872f2087c98
* Add the WebSocket message filter for SharedWorkersricea@chromium.org2014-04-081-0/+11
| | | | | | | | | | | | | | | | | | SharedWorkers use a different set of IPC filters from renderer processes, and the new WebSocket IPCs were not included. Include the new WebSocket IPCs in the IPC filters in WorkerProcessHost. Note: features marked "test" in RuntimeEnabledFeatures.in are not enabled in SharedWorker processes. https://codereview.chromium.org/228033003/ is required to test this change. BUG=361053 TEST=http/tests/websocket/workers layout tests Review URL: https://codereview.chromium.org/228363002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262396 0039d316-1c4b-4281-b951-d872f2087c98
* Add pause_on_start flag to WorkerProcessMsg_CreateWorker_Params.horo@chromium.org2014-03-293-4/+7
| | | | | | | | | | | | | | DevToolsAgentMsg_PauseWorkerContextOnStart was send to the worker process from the browser process in order to pause the worker context when it starts. Before http://crbug.com/329786 this message was sent between WorkerProcessMsg_CreateWorker and WorkerMsg_StartWorkerContext. So the worker was successfully paused before started. But after http://crbug.com/329786 the worker context may be started before the worker process receives this message because WorkerMsg_StartWorkerContext is no longer sent from the browser process. So we have to add pause_on_start flag to WorkerProcessMsg_CreateWorker_Params to pause the worker context correctly. BUG=329786 Review URL: https://codereview.chromium.org/213423008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260377 0039d316-1c4b-4281-b951-d872f2087c98
* Move ContentBrowserTest class to content/public, since it's used by ↵jam@chromium.org2014-03-271-2/+2
| | | | | | | | | | components_browsertests for browser tests which use Content Shell. R=avi@chromium.org Review URL: https://codereview.chromium.org/214823006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259967 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor configuration of sandboxes - first stepsaberent@chromium.org2014-03-131-15/+29
| | | | | | | | | | | | | | | | | | See https://docs.google.com/document/d/1H-hCsIcMsAEP0fWHimbuiNA-Hc9eXEmR94eb-2RQAhA/edit?usp=sharing for background. This moves all process type dependent decisions on how to create Linux processes (not how to sandbox them once created, not Android) into the launch delegates and makes the arguments to the ChildProcessLauncher constructor and BrowserChildProcessHostImpl::Launch OS independent. BUG=none Review URL: https://codereview.chromium.org/177863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256802 0039d316-1c4b-4281-b951-d872f2087c98
* Add ServiceWorkerContext to ResourceMessageFilter and WorkerStoragePartitionkinuko@chromium.org2014-03-123-4/+17
| | | | | | | | | | | We need them (as well as other storage contexts) for further browser-side plumbing. BUG=349319 Review URL: https://codereview.chromium.org/195013003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256605 0039d316-1c4b-4281-b951-d872f2087c98
* Add commandline flag "enable-embedded-shared-worker" for ServiceWroker in ↵horo@chromium.org2014-03-121-1/+11
| | | | | | | | | | | | the renderer process. This will allow the SharedWorker to run inside the renderer process instead of the worker process. BUG=327256 Review URL: https://codereview.chromium.org/154263004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256421 0039d316-1c4b-4281-b951-d872f2087c98
* Add WorkerDocumentSet::ContainsExternalRenderer(int worker_process_id)horo@chromium.org2014-03-052-0/+14
| | | | | | | | | | It will be called to checks to see if the document set contains any documents which is associated with other renderer process than worker_process_id. BUG=327256 Review URL: https://codereview.chromium.org/178473016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254928 0039d316-1c4b-4281-b951-d872f2087c98
* Implement SharedWorkerServiceImpl::CreateWorker and SharedWorkerInstance and ↵horo@chromium.org2014-02-261-1/+2
| | | | | | | | | | | | | | SharedWorkerHost. SharedWorkerInstance is almost same as WorkerProcessHost::WorkerInstance in content/browser/worker_host/worker_process_host.h. In the next CL, I will implement SharedWorkerHost::Init() which sends CreateWorker message to the renderer. BUG=327256 Review URL: https://codereview.chromium.org/177043003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253620 0039d316-1c4b-4281-b951-d872f2087c98
* Allow MessageFilters to restrict listening to specific message classesjdduke@chromium.org2014-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | ChannelProxy currently offers messages to all member MessageFilters. It turns out that a good portion of the most common message types will never be filtered, making the O(N) filter walk an unnecessary affair. To prevent this, allow MessageFilters to indicate which (if any) subset of message classes they may filter, allowing the ChannelProxy to refine the list of filters that are offered a particular message. This saves ~35us per message received on the browser IO thread for a typical Android device. Relanding with a few more guards for MessageFilter removal, access and message class subscription. BUG=340881 TBR=asargent@chromium.org Review URL: https://codereview.chromium.org/142923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253361 0039d316-1c4b-4281-b951-d872f2087c98
* Delete not used and not implemented method in WorkerMessageFilter.horo@chromium.org2014-02-241-1/+0
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/177423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252967 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Allow MessageFilters to restrict listening to specific message classes"jdduke@chromium.org2014-02-211-2/+1
| | | | | | | | | | | | | This reverts commit 2955e4e3c747fd4aa3c227d6c4e4c698cf31b3c4. Reason for revert: Frequent crashes on Windows. BUG=345368 TBR= Review URL: https://codereview.chromium.org/165333004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252428 0039d316-1c4b-4281-b951-d872f2087c98
* Allow MessageFilters to restrict listening to specific message classesjdduke@chromium.org2014-02-161-1/+2
| | | | | | | | | | | | | | | | | ChannelProxy currently offers messages to all member MessageFilters. It turns out that a good portion of the most common message types will never be filtered, making the O(N) filter walk an unnecessary affair. To prevent this, allow MessageFilters to indicate which (if any) subset of message classes they may filter, allowing the ChannelProxy to refine the list of filters that are offered a particular message. This saves ~35us per message received on the browser IO thread for a typical Android device. BUG=340881 TBR=asargent@chromium.org Review URL: https://codereview.chromium.org/142923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251622 0039d316-1c4b-4281-b951-d872f2087c98
* Use BrowserMessageFilter instead of WorkerMessageFilter in WorkerDocumentSet.horo@chromium.org2014-02-123-13/+14
| | | | | | | | | | We will use WorkerDocumentSet for other type of BrowserMessageFilter while moving SharedWorker to the renderer process. BUG=327256 Review URL: https://codereview.chromium.org/159893008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250701 0039d316-1c4b-4281-b951-d872f2087c98
* Creates a way to launch the utility process with elevated privileges on ↵haven@chromium.org2014-02-111-0/+1
| | | | | | | | | | | | Windows systems for the rare operations that require administrator access. IPCs to the utility process will be filtered when it is running elevated. BUG=331881 Review URL: https://codereview.chromium.org/98603007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250409 0039d316-1c4b-4281-b951-d872f2087c98
* Change WorkerHostMsg_WorkerContextDestroyed to control message.horo@chromium.org2014-02-102-18/+16
| | | | | | | | BUG=329786 Review URL: https://codereview.chromium.org/138793004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250043 0039d316-1c4b-4281-b951-d872f2087c98
* Add kinuko@ and horo@ to content/worker and content/browser/worker_host OWNERSkinuko@chromium.org2014-02-071-0/+2
| | | | | | | | | BUG=none NOTRY=true Review URL: https://codereview.chromium.org/149793005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249706 0039d316-1c4b-4281-b951-d872f2087c98
* Move the worker script loading code to the worker process (phase:4/5)horo@chromium.org2014-02-056-302/+150
| | | | | | | | | | | | | | - Stop sending the worker script from the renderer. - In this change we can remove the pending instances in WorkerServiceImpl. This is step 4 of moving the worker script loading code from the renderer process to the worker process. See: http://crbug.com/329786 BUG=329786 Review URL: https://codereview.chromium.org/133093003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248869 0039d316-1c4b-4281-b951-d872f2087c98
* Start moving context menu code to RenderFrame.jam@chromium.org2014-01-311-1/+1
| | | | | | | | | | | The selection code will have to move as well. That will happen in future changes. BUG=304341 R=nasko@chromium.org Review URL: https://codereview.chromium.org/130773004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248091 0039d316-1c4b-4281-b951-d872f2087c98
* When checking the public suffix list, set INCLUDE_PRIVATE_REGISTRIES for all ↵rsleevi@chromium.org2014-01-301-1/+1
| | | | | | | | | | | | | | security decisions. For cookies, LSOs, site isolation, and renderer security decisions, also consider domains on the PSL's private domains list, since the purpose of the private domains is to set distinct security zones. BUG=335902 Review URL: https://codereview.chromium.org/130623003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248035 0039d316-1c4b-4281-b951-d872f2087c98
* Register the worker process ID of the extension to ProcessMap in ↵horo@chromium.org2014-01-283-7/+78
| | | | | | | | | | | | ExtensionSystem. This change makes importScripts() work correctly in the Shared Worker of packaged app. BUG=258695,329786 Review URL: https://codereview.chromium.org/139163002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247513 0039d316-1c4b-4281-b951-d872f2087c98
* Move the guts of user_metrics to a new static lib in //base/metrics.ben@chromium.org2014-01-131-2/+2
| | | | | | | | | | | I retained a couple of wrapper functions in content that post back to the UI thread if they are called from another thread. All existing code will continue to use these wrappers. The intent is that some code that I don't want to depend on content that only lives on the UI thread can now call //base/metrics code directly. R=isherman@chromium.org, jam@chromium.org http://crbug.com/332504 Review URL: https://codereview.chromium.org/129223004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244580 0039d316-1c4b-4281-b951-d872f2087c98
* Move the worker script loading code to the worker process (phase:2/5)horo@chromium.org2014-01-093-0/+19
| | | | | | | | | | | | | | | | | | - Add content_security_policy and security_policy_type to ViewHostMsg_CreateWorker_Params and WorkerProcessMsg_CreateWorker_Params. It is needed because WorkerMsg_StartWorkerContext will be removed. - Implement workerScriptLoaded, workerScriptLoadFailed and selectAppChacheID. - Queue WebMessagePortChannel in WebSharedWorkerStub::OnConnect When we will add the script loading code in WebSharedWorkerImpl, the worker process can't respond to the connection request which is sent soon after the SharedWorker is created. So we have to create WebMessagePortChannelImpl in WebSharedWorkerStub::OnConnect. This is step 2 of moving the worker script loading code from the renderer process to the worker process. See: http://crbug.com/329786 BUG=329786 Review URL: https://codereview.chromium.org/115713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243864 0039d316-1c4b-4281-b951-d872f2087c98
* Finally remove ResourceRequestInfo::GetAssociatedRenderView. Also remove the ↵jam@chromium.org2014-01-074-16/+6
| | | | | | | | | | | shared worker plumbing that existed only to support it. BUG=304341 R=nasko@chromium.org Review URL: https://codereview.chromium.org/125513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243365 0039d316-1c4b-4281-b951-d872f2087c98
* Copy the value of --no-sandbox when launching the worker process.glider@chromium.org2013-12-301-1/+2
| | | | | | | | | BUG=330856 R=jam@chromium.org Review URL: https://codereview.chromium.org/111343008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242736 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of UTF conversions in content/ to use the base:: namespace.avi@chromium.org2013-12-252-3/+3
| | | | | | | | | | BUG=330556 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/121033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242483 0039d316-1c4b-4281-b951-d872f2087c98
* A bunch of work to transition from render_view_id to render_frame_id.jam@chromium.org2013-12-202-2/+5
| | | | | | | | | | | | | | -remove ResourceRequestInfo::GetRenderViewForRequest -reduce usage of GetAssociatedRenderView and add GetAssociatedRenderFrame which will replace it -move the cookie jar from RenderView to RenderFrame -switch most of the usages of RenderView to RenderFrame in WebPluginImpl BUG=304341 R=boliu@chromium.org, nasko@chromium.org Review URL: https://codereview.chromium.org/114573003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242200 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of making SharedWorkerRepositoryClient be per RenderFrame ↵jam@chromium.org2013-12-187-57/+82
| | | | | | | | | | | | | | | | | instead of RenderView. This also fixes the TODOs from r241306 in tab_specific_content_settings.cc The RenderView ID is still being sent to the browser because it's used by ResourceRequestInfo::GetAssociatedRenderView. Fixing that will be a large change by itself, so I'll do that in a followup. One minor behavior change is that the per-RenderView limit on how many shared workers can be started is now per-RenderFrame. Given that shared workers will be moved to the renderer process, I'm not too concerned about that. BUG=304341 R=nasko@chromium.org Review URL: https://codereview.chromium.org/109213006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241514 0039d316-1c4b-4281-b951-d872f2087c98
* Convert string16 to base::string16 in content.brettw@chromium.org2013-12-035-26/+26
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/102593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
* LOG(INFO) -> VLOG(0) in content/scottmg@chromium.org2013-11-231-1/+1
| | | | | | | | | | | | Let me know if you prefer to keep some of these as INFO or just delete them. R=jam@chromium.org BUG=322805 Review URL: https://codereview.chromium.org/84293002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236936 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dead code from IDB (chromium side)alecflett@chromium.org2013-11-181-2/+2
| | | | | | | | | BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/73153003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235708 0039d316-1c4b-4281-b951-d872f2087c98
* Pass --js-flags to shared workers.dslomov@chromium.org2013-11-121-0/+1
| | | | | | | | | R=atwilson@chromium.org BUG=314198 Review URL: https://codereview.chromium.org/66033015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234587 0039d316-1c4b-4281-b951-d872f2087c98
* Kill worker process by way of a sync IPC message before it cleans up.meacer@chromium.org2013-11-052-0/+11
| | | | | | | | | | | | | When a worker process shuts down, it shuts down WebKit. If there are other threads running in the worker process, this leads to crashes. This fix tries to kill the worker process forcibly so that no cleanup takes place. BUG=249502 Review URL: https://codereview.chromium.org/23496052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233099 0039d316-1c4b-4281-b951-d872f2087c98
* Disable WorkerTest::QueuedSharedWorkerShutdown.garykac@chromium.org2013-10-211-6/+2
| | | | | | | | | | | | Disable test for all platforms since it is already disabled for Windows and is not acting flaky on Mac. BUG=212339 TBR=dmichael Review URL: https://codereview.chromium.org/33653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229906 0039d316-1c4b-4281-b951-d872f2087c98
* Add commandline flag for service workers.alecflett@chromium.org2013-10-151-0/+1
| | | | | | | | | | this allows the browser to detect at runtime if service workers should be enabled or not. BUG=285976 Review URL: https://codereview.chromium.org/27238005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228721 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring: Move MessagePort-related IPCs and handling them away from ↵marja@chromium.org2013-10-155-367/+27
| | | | | | | | | | | | | | | | | Worker-related classes. MessagePorts can also be used by non-workers. This is part of a series of changes to fix cross-process MessagePorts. This CL contains no functional changes. BUG=278336 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=228448 Review URL: https://codereview.chromium.org/25299002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@228662 0039d316-1c4b-4281-b951-d872f2087c98