Reland: Cleanup: Remove extra EmbeddedWorker layering in the renderer SW code
commit5af4ffeb2d78628e0bfe902e09ffa530d2d01db2
authorkinuko <kinuko@chromium.org>
Tue, 9 Jun 2015 03:38:46 +0000 (8 20:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Jun 2015 03:39:18 +0000 (9 03:39 +0000)
treebacaa60a55f571a3071754b633552836feecc942
parent62cc1d7aefd10962b5b7ca4be579cf561e4d5f68
Reland: Cleanup: Remove extra EmbeddedWorker layering in the renderer SW code

Original review: https://codereview.chromium.org/1136323003/

Threading fixes from the original patch (PS1):
- Don't bind WebString (as it's not thread-safe)
- Introduce internal WorkerContextData struct for holding data
  (specifically callback maps) that need to be bound/destructed on the
  worker thread.

BUG=491039, 492625, 492570
TEST=existing tests, layout tests

Review URL: https://codereview.chromium.org/1157273009

Cr-Commit-Position: refs/heads/master@{#333437}
content/content_renderer.gypi
content/renderer/render_thread_impl.cc
content/renderer/service_worker/embedded_worker_context_client.cc [deleted file]
content/renderer/service_worker/embedded_worker_context_message_filter.cc [deleted file]
content/renderer/service_worker/embedded_worker_dispatcher.cc
content/renderer/service_worker/service_worker_context_client.cc [new file with mode: 0644]
content/renderer/service_worker/service_worker_context_client.h [moved from content/renderer/service_worker/embedded_worker_context_client.h with 51% similarity]
content/renderer/service_worker/service_worker_context_message_filter.cc [new file with mode: 0644]
content/renderer/service_worker/service_worker_context_message_filter.h [moved from content/renderer/service_worker/embedded_worker_context_message_filter.h with 55% similarity]
content/renderer/service_worker/service_worker_script_context.cc [deleted file]
content/renderer/service_worker/service_worker_script_context.h [deleted file]