| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/177423002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252967 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
BUG=
Review URL: https://codereview.chromium.org/102593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238447 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|