Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 177043003: Implement SharedWorkerServiceImpl::CreateWorker and SharedWorkerInstance and SharedWorkerHost (Closed)

Created:
6 years, 10 months ago by horo
Modified:
6 years, 10 months ago
Reviewers:
kinuko
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement SharedWorkerServiceImpl::CreateWorker and SharedWorkerInstance and 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 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253620

Patch Set 1 #

Total comments: 25

Patch Set 2 : Incorporated kinuko's comments. #

Patch Set 3 : Add test for SharedWorkerInstance #

Total comments: 4

Patch Set 4 : Use std::string and base::StringPiece #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -3 lines) Patch
A content/browser/shared_worker/shared_worker_host.h View 1 2 3 1 chunk +38 lines, -0 lines 0 comments Download
A content/browser/shared_worker/shared_worker_host.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A content/browser/shared_worker/shared_worker_instance.h View 1 2 3 1 chunk +109 lines, -0 lines 0 comments Download
A content/browser/shared_worker/shared_worker_instance.cc View 1 2 3 1 chunk +101 lines, -0 lines 0 comments Download
A content/browser/shared_worker/shared_worker_instance_unittest.cc View 1 2 3 1 chunk +76 lines, -0 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl.h View 3 chunks +10 lines, -0 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl.cc View 1 3 chunks +66 lines, -2 lines 0 comments Download
M content/browser/worker_host/worker_storage_partition.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 chunk +4 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
horo
kinuko@ Could you please review this CL?
6 years, 10 months ago (2014-02-26 07:37:42 UTC) #1
kinuko
Looks good. https://codereview.chromium.org/177043003/diff/1/content/browser/shared_worker/shared_worker_host.h File content/browser/shared_worker/shared_worker_host.h (right): https://codereview.chromium.org/177043003/diff/1/content/browser/shared_worker/shared_worker_host.h#newcode16 content/browser/shared_worker/shared_worker_host.h:16: class SharedWorkerHost { Would be nice to ...
6 years, 10 months ago (2014-02-26 08:51:17 UTC) #2
horo
https://codereview.chromium.org/177043003/diff/1/content/browser/shared_worker/shared_worker_host.h File content/browser/shared_worker/shared_worker_host.h (right): https://codereview.chromium.org/177043003/diff/1/content/browser/shared_worker/shared_worker_host.h#newcode16 content/browser/shared_worker/shared_worker_host.h:16: class SharedWorkerHost { On 2014/02/26 08:51:17, kinuko wrote: > ...
6 years, 10 months ago (2014-02-26 10:36:18 UTC) #3
kinuko
lgtm... modulo: if these were new files I'd probably requested some tests. Current code doesn't ...
6 years, 10 months ago (2014-02-26 11:01:59 UTC) #4
horo
On 2014/02/26 11:01:59, kinuko wrote: > lgtm... modulo: if these were new files I'd probably ...
6 years, 10 months ago (2014-02-26 14:23:28 UTC) #5
kinuko
still lgtm, thanks! https://codereview.chromium.org/177043003/diff/60001/content/browser/shared_worker/shared_worker_instance_unittest.cc File content/browser/shared_worker/shared_worker_instance_unittest.cc (right): https://codereview.chromium.org/177043003/diff/60001/content/browser/shared_worker/shared_worker_instance_unittest.cc#newcode25 content/browser/shared_worker/shared_worker_instance_unittest.cc:25: const wchar_t* name) { nit: Can ...
6 years, 10 months ago (2014-02-26 14:33:24 UTC) #6
horo
https://codereview.chromium.org/177043003/diff/60001/content/browser/shared_worker/shared_worker_instance_unittest.cc File content/browser/shared_worker/shared_worker_instance_unittest.cc (right): https://codereview.chromium.org/177043003/diff/60001/content/browser/shared_worker/shared_worker_instance_unittest.cc#newcode25 content/browser/shared_worker/shared_worker_instance_unittest.cc:25: const wchar_t* name) { On 2014/02/26 14:33:25, kinuko wrote: ...
6 years, 10 months ago (2014-02-26 16:31:21 UTC) #7
horo
The CQ bit was checked by horo@chromium.org
6 years, 10 months ago (2014-02-26 16:55:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/horo@chromium.org/177043003/80001
6 years, 10 months ago (2014-02-26 16:56:08 UTC) #9
commit-bot: I haz the power
6 years, 10 months ago (2014-02-26 23:13:54 UTC) #10
Message was sent while issue was closed.
Change committed as 253620

Powered by Google App Engine
This is Rietveld 408576698